You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 16, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 16, 2020. It is now read-only.
The formalization and the reference interpreter are usually updated (though these two can be done as part of step 3 at the Working Group chair's discretion).
Community Group has reached consensus in support of the feature.
For toolchain support in emscripten specifically we'll need to stop "legalizing" i64s into pairs of i32s, and handle the receiving of bigints in the JS support code. I hope to look into that soon.
That uses BigInts on wasm imports and exports of i64s, so it changes the FFI between wasm and JS. (So far we don't use BigInt64Array as that isn't on the FFI boundary, and the benefit to us isn't clear). Tested with v8, everything looks good.
Reacted by Daniel Ehrenberg, Sven Sauleau, Lars T Hansen and Asumu Takikawa
Activity
kripken commentedon Apr 2, 2020
For toolchain support in emscripten specifically we'll need to stop "legalizing" i64s into pairs of i32s, and handle the receiving of bigints in the JS support code. I hope to look into that soon.
xtuc commentedon Apr 11, 2020
wasm-bindgenallows the transformation of Rust's u64 and i64 to JS' BigInt https://github.com/rustwasm/wasm-bindgen/pull/188/files.CryZe commentedon Apr 11, 2020
That's more of a workaround though, rather than implementing the proposal. So just like emscripten, it would need to be rewritten.
xtuc commentedon Apr 11, 2020
@CryZe you are right, I misread the PR.
wasm-bindgenalso lowers themkripken commentedon Apr 11, 2020
The emscripten work for BigInt has landed: emscripten-core/emscripten#10860
That uses BigInts on wasm imports and exports of i64s, so it changes the FFI between wasm and JS. (So far we don't use
BigInt64Arrayas that isn't on the FFI boundary, and the benefit to us isn't clear). Tested with v8, everything looks good.Ms2ger commentedon May 12, 2020
CG approved in the 2020-05-12 meeting.