3 ms·
JS is a much better compile target. WebAssembly doesn't have GC and it's just not geared towards dynamic languages. You might attempt the equivalent of a nativ
by fulafel 4y ago
JS is a much better compile target. WebAssembly doesn't have GC and it's just not geared towards dynamic languages.
You might attempt the equivalent of a native code compiler for Clojure but just targeting WebAssembly, plus a low level runtime implementing GC and JS interop, but it's a lot of work and there's no guarantee it would be competitive since JS JITs are quite good.