所有版本 v0.1.946 八月 2026JavaScript 与 JIT 订阅

版本说明以英文撰写。

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.

改动内容

3 项改动
  1. JavaScript 与 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.
  2. JavaScript 与 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.
  3. JavaScript 与 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.
v0.1.94 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026