⚛️ 🏎 WebAssembly for React Native powered by JSI.
It's now possible to invoke callbacks defined in the JavaScript layer, have these consume values from the native runtime and also return values to the native runtime synchronously.
Migrate to JSI.
#4 - Include the ability to import
local wasm
files from the React Native project to WebAssembly.create
. This includes an updated example project which shows how to configure the target project to support local imports.
Previously, all raw functions passed into the WebAssembly runtime were expected to be defined under the imports
key, and were allocated using universal scope. This PR adds namespace function support to correctly qualify the scope of raw functions.
env
's WebAssemblyEnv
in shared with neighbouring ImportsMap
s.instantiate
invocation.README.md
.WebAssembly.Memory
class to enable caller-defined configuration of the stackSizeInBytes
.