Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃洡 JavaScript BigInt to WebAssembly i64 integration #7

Open
binji opened this issue Oct 16, 2018 · 4 comments
Open

馃洡 JavaScript BigInt to WebAssembly i64 integration #7

binji opened this issue Oct 16, 2018 · 4 comments

Comments

@binji
Copy link
Member

binji commented Oct 16, 2018

This is a tracking issue for a post-MVP feature
It will be updated as the issue progresses.

Topic JavaScript BigInt to WebAssembly i64 integration
Champion Dan Ehrenberg @littledan
Status in progress
Phase proposed spec text available
Linked issues WebAssembly/spec#707
Linked repositories github.com/WebAssembly/JS-BigInt-integration

Details

With this patch, BigInts have support for bidirectionally converting
to 64-bit integer WebAssembly values, which appears as

  • Parameters and return values to exported WebAssembly functions
  • Parameters and return values to host functions
  • Imported and exported globals

BigInts can be read or written from WebAssembly memory using the
BigInt proposal's BigInt64Array or BigUint64Array; no additional
support is needed.

@lars-t-hansen
Copy link

It's implemented in Firefox and it's been baking in Nightly for some time. What's the status of other implementations, tools, spec text? It would be nice to ship this if we can.

@gahaas
Copy link

gahaas commented Mar 19, 2020

It's implemented in Chrome as well. Spec tests were still lacking last time I checked.

@Ms2ger
Copy link

Ms2ger commented Mar 24, 2020

Spec text and tests are done in the proposal repo. Not sure if we need anything on the tools side. Given the restrictions to comment to this issue, I've created WebAssembly/JS-BigInt-integration#32 in for further discussion.

@Ms2ger
Copy link

Ms2ger commented May 12, 2020

CG approved phase 4 in the 2020-05-12 meeting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants