-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wasm memory snapshot #7
Comments
Strategy 1:Add javascript to the emscripten module output that handles initializes with a certain memory buffer. This can be achieved using the https://emscripten.org/docs/tools_reference/emcc.html#emcc-pre-js |
Should be able to replace memory buffer using https://emscripten.org/docs/api_reference/module.html#Module.buffer |
Strategy 2:Simply use c++ delete to garbage collect the class |
Strategy 3:Replace module instance memory. Each module can point to n memories |
Goal:
Resources
The text was updated successfully, but these errors were encountered: