- cross-posted to:
- clojure
- [email protected]
- cross-posted to:
- clojure
- [email protected]
If we can get high performance clojure on wasm that will be amazing.
I think for now, I will choose Rust for wasm, because going through the troubles of wasm without getting great performance seems not exciting.
It’ll be interesting to watch, I wonder if using Graal wasm backend to compile Babashka might work as well.
Honestly, I think Graal and TeaVM and other VM based methods with big runtimes arent interesting for wasm.
If we could compile to wasm it will get interesting. I think scheme does that.
The last benchmark I saw about java and clojure with wasm was really unflattering. Not too interesting in performance and huge size.
Graal produces pretty lean runtime, Babashka only uses around 10mb memory or so to spin up.
Compre them with rust, scheme, Go.
Sure, they’re leaner, but bb is already good enough for many use cases I find. Jank is another project to watch, it compiles directly to native code with performance in mind. https://jank-lang.org/
Yeah, jank seems very exciting for high performance things.



