☆ Yσɠƚԋσʂ ☆@lemmy.mlM to Clojure programming language discussion@lemmy.mlEnglish · 2 months agoClojure on Wasmgithub.comexternal-linkmessage-square7linkfedilinkarrow-up14arrow-down11cross-posted to: clojure[email protected]
arrow-up13arrow-down1external-linkClojure on Wasmgithub.com☆ Yσɠƚԋσʂ ☆@lemmy.mlM to Clojure programming language discussion@lemmy.mlEnglish · 2 months agomessage-square7linkfedilinkcross-posted to: clojure[email protected]
minus-squaresomegeeklinkfedilinkarrow-up1·2 months agoHonestly, 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.
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlOPMlinkfedilinkarrow-up1·2 months agoGraal produces pretty lean runtime, Babashka only uses around 10mb memory or so to spin up.
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlOPMlinkfedilinkarrow-up2·2 months agoSure, 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/
minus-squaresomegeeklinkfedilinkarrow-up3·2 months agoYeah, jank seems very exciting for high performance things.
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.