Skip to content

xtuc/JS-BigInt-integration

 
 

Repository files navigation

WebAssembly BigInt<->i64 conversion in JS API

With the changes in this repository, 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.

Design issue

About

JavaScript BigInt to WebAssembly i64 integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • WebAssembly 84.9%
  • OCaml 8.1%
  • JavaScript 3.0%
  • Python 1.8%
  • Batchfile 0.9%
  • Makefile 0.6%
  • Other 0.7%