Tất cả phiên bản v0.1.14814 Tháng 8 2026JavaScript và JIT, Bộ nhớ và đọc Feed

Ghi chú phát hành được viết bằng tiếng Anh.

WebAssembly numbers stay exact: 64-bit integers cross as BigInt

The final pieces of the WebAssembly interop arc. 64-bit integers now cross the JavaScript boundary as BigInt, exactly as the specification requires: an i64 result comes back as a BigInt that is exact past the 2^53 limit where plain numbers silently round (2 to the 60th arrives as precisely 1152921504606846976n), an i64 parameter requires a BigInt and throws a TypeError for a plain number - the same behavior as the reference JavaScript runtime and every browser - and an imported JavaScript function receives BigInts for i64 arguments and must return one for an i64 result. Alongside: WebAssembly.Memory.grow works before and after the memory binds to an instance (returning the old page count, the buffer tracking the new size), and a regression guard locks in that a module importing its function table and filling it from its own element segments dispatches call_indirect correctly - the standard emscripten shape. Every behavior verified against the reference runtime's WebAssembly as the independent reference. The Web APIs aspect holds at 64; the overall holds at 57.

Những gì đã thay đổi

3 thay đổi
  1. JavaScript và JITi64 crosses as BigInt per the JS-API spec: results are exact past 2^53 where a Number would round, parameters require a BigInt (TypeError otherwise, matching the reference JavaScript runtime and every browser), and JS import functions see BigInt arguments for i64 parameters and must return a BigInt for an i64 result. Exactness caught by a test multiplying 2^40 by 2^20.
  2. Bộ nhớ và đọcWebAssembly.Memory.grow works on both sides of binding: before instantiation it resizes the page-held buffer; after, it grows the instance's live linear memory - returning the old page count either way, with the buffer's byteLength tracking.
  3. JavaScript và JITA regression guard proves an imported function table filled by the module's own element segments dispatches call_indirect correctly (the dominant emscripten table shape), verified against the reference JavaScript runtime: even inputs route to one function, odd to another, byte-identical results.
Mọi thứ kể từ v0.1.148 ở một nơi

Phiên bản

v0.1.0 - 0.1.9 · 10 Tháng 7 2026418v0.1.427 · 25 Tháng 11 2026