dart-archive / wasm

Utilities for loading and running WASM modules from Dart code
https://pub.dev/packages/wasm
BSD 3-Clause "New" or "Revised" License
312 stars 24 forks source link

Wasmer async module compilation. #115

Open modulovalue opened 1 year ago

modulovalue commented 1 year ago

Under the assumption that wasmer doesn't offer a way to asynchronously compile modules, we should investigate the new Isolate.run functionality for giving users the choice to asynchronously build wasmer modules.

This might be a little annoying, because we can't pass Pointers between isolates see: https://github.com/dart-lang/sdk/issues/50457. Isolate.run is also not available on 2.12.0 which is our current dart lower bound.