Alle versies v0.1.14814 Aug 2026JavaScript en JIT, Geheugen en lezen Feed

De release-opmerkingen zijn in het Engels geschreven.

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.

Wat er veranderd is

3 wijzigingen
  1. JavaScript en 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. Geheugen en lezenWebAssembly.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 en 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.
Alles sinds v0.1.148 op één plek

Versies

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026