xtuc / JS-BigInt-integration

JavaScript BigInt to WebAssembly i64 integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:WebAssembly 84.8%Language:OCaml 8.1%Language:JavaScript 3.0%Language:Python 1.8%Language:Batchfile 0.9%Language:Makefile 0.6%Language:Shell 0.5%Language:HTML 0.1%Language:Standard ML 0.1%Language:CSS 0.0%