WebAssembly / JS-BigInt-integration

JavaScript BigInt to WebAssembly i64 integration

Home Page:https://webassembly.github.io/JS-BigInt-integration/js-api/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebAssembly BigInt<->i64 conversion in JS API

This proposal has been merged into the main specification.

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

Rendered spec

About

JavaScript BigInt to WebAssembly i64 integration

https://webassembly.github.io/JS-BigInt-integration/js-api/index.html

License:Other


Languages

Language:WebAssembly 83.3%Language:OCaml 7.2%Language:JavaScript 5.4%Language:Python 1.8%Language:Batchfile 0.7%Language:Makefile 0.6%Language:Perl 0.5%Language:Shell 0.4%Language:HTML 0.1%Language:Standard ML 0.0%Language:CSS 0.0%