danilopedraza / komodo

The Komodo programming language code repository
https://komodo-lang.org/
GNU General Public License v3.0
6 stars 0 forks source link

Resetting heap in web editor #68

Open danilopedraza opened 2 weeks ago

danilopedraza commented 2 weeks ago

There is a problem when using the web editor: The only way to reset the WASM module with the interpreter is by reloading the page. There should be a way to do this automatically when a program is finished.

According to this, the only way to reset the memory buffer of a WASM module is by letting it be garbage-collected by JS.