Die Versionshinweise sind auf Englisch geschrieben.
async / await, done properly: a resumable virtual machine
This is the flagship language release. await used to run to completion instead of actually suspending, so the ordering of an async function relative to later work was wrong - the classic a, b, c logging as a, c, b. Fixing it meant the interpreter had to be able to STOP in the middle of a function, save all of its local state onto the heap, let other queued work run, and later resume exactly where it left off. That resumable machine now exists: await genuinely defers, the microtask queue drains in the right order, and async ordering matches every other engine. It is the single biggest correctness gain to the JavaScript language this scorecard has made.
Was sich geändert hat
3 Änderungen- JavaScript und JITawait now genuinely suspends: an async function stops at await, its local state is saved to the heap as a coroutine, later-queued microtasks run, and it resumes where it left off - so a / b / c ordering is finally correct where it used to be a / c / b.
- JavaScript und JITThis required a resumable interpreter: the virtual machine can now reify a running functions locals into heap coroutine state and pick execution back up, the architectural capability that async/await, and eventually generators, are built on.
- JavaScript und JITReal async code now behaves: promise chains, awaited fetches and interleaved timers observe each other in the order the language specifies, which is the difference between async code that happens to work and async code that is correct.








































