wasm
wasm copied to clipboard
Utilities for loading and running WASM modules from Dart code
I am trying to import a wasm module in dart but keep getting this error: ``` WasmError: Missing import: function: void a::a(int32, int32, int32, int32) WasmInstanceBuilder.build package:wasm/src/module.dart:212 ``` Code snippet...
Wasm for web
I Was wondering if it is possible to add web support to wasm someway (it uses ffi so assuming it will not support web), or maybe have source_gen generate interop...
(This doesn't work at all yet) Most of the files are boilerplate created by flutter. The only relevant files are: - flutter_wasm/ios/flutter_wasm.podspec - wasm/bin/setup.dart - flutter_wasm/bin/ios_setup.dart
![image](https://user-images.githubusercontent.com/17034/150609758-ac932761-561a-40ff-82d1-e54669eaa587.png) Should we update the readme?
In the Rust Wasmer SDK, there is a way to enable non-standard features such as threads and simd through https://docs.rs/wasmer/latest/wasmer/struct.Features.html . Please could we enable these with the dart package...
I am having an issue with the WasmModule loading. I have the following in my Flutter app: ```dart final data = await rootBundle.load('assets/add.wasm'); final mod = WasmModule(data.buffer.asUint8List()); print(mod.describe()); final inst...
The way that wasm_bindgen in Rust can access functions that are defined externally, how does one allow the WASM to call dart functions?