Todas as versões v0.1.14814 Ago 2026JavaScript e JIT, Memória e leitura Feed

As notas de versão são escritas em inglês.

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.

O que mudou

3 mudanças
  1. JavaScript e 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. Memória e leituraWebAssembly.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 e 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.
Tudo desde a v0.1.148 em um só lugar

Versões

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