thinking about how to use emscriptem to run Crystal (language) in the browser. Because the code will interact heavily with the DOM and JS libraries (like React.js) I do not want to run in the WASM, but rather in the JS environment.
Crystal generates LLVM so that is not a problem. The problem is that Crystal depends on a garbage collector. My question is if I generate .js (instead of wasm - see https://emscripten.org/docs/getting_started/FAQ.html#what-is-no-webassembly-support-found-build-with-s-wasm-0-to-target-javascript-instead-or-no-native-wasm-support-detected) can I let the memory allocated be collected by the normal JS garbage collector? -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/fb281660-e317-42e9-afef-0d304e9ba21d%40googlegroups.com.
