Start United States USA — software JavaScript spec adds async functions, shared memory

JavaScript spec adds async functions, shared memory

419
0
TEILEN

NewsHubA few months before its expected approval, ECMAScript 2017, the latest official specification underlying JavaScript, has been fleshed out with async functions and shared memory capabilities.
ECMAScript 2017 is due to be finalized in June , in line with a release cadence that has seen midyear upgrades recently. „Async functions are a terrific tool for writing asynchronous code, and SharedArrayBuffer (shared memory) will enable library authors to experiment with real multiprocessing in JavaScript,“ said blogger Axel Rauschmayer, who follows JavaScript’s development.
Async functions were a candidate for inclusion last year but were pushed out to this year. Shared memory, meanwhile, is coupled with atomics, providing atomic operations on shared memory locations.

Continue reading...