Exactly, some time ago I worked on this: https://github.com/helins/wasm.cljc But I don't think we'll see much Clojure <-> WASM until GC is indeed implemented
or jank (#jank) -> C++ -> wasm through llvm. I've not done anything like this, and jank is still in progress. Any thoughts @jeaye?
jank -> C++ -> WASM via LLVM will certainly be a thing, since LLVM grants us that magic. Likely not this year, though. jank has higher priority tasks first, like implementing more of the language.
nice. I'm following up on guile-hoot https://gitlab.com/spritely/guile-hoot . it's a Guile (scheme) compiler / library for working with wasm + compile guile programs to wasm
wasm GC is in progress
what happened to the project? why did you stop working on it?
Last time I checked it was still up to date WRT the specs, so since I haven't been using it actively I didn't change anything
For Clojure -> WASM there is also a decent chance it would be best waiting for JVM byte code -> WASM
I kind of think so too
the only work I know so far in that direction is https://github.com/i-net-software/JWebAssembly
but that is for java
do you know if someone is working on bytecode -> wasm ?
There were 2-3 other projects but they looked clunky or not actively maintained. @borkdude Do you know what's the current status in the GraalVM ecosystem?
I did found this just now http://www.teavm.org/
don't know much about this side
I think I read somewhere it was a eventually a target (and that would make a lot of sense), but unsure if it is a priority at all
we shall see. I am waiting for project galahad which will bring native image tool to openjdk https://github.com/openjdk/galahad/ . that means babashka will probably make it into debian and other places that require build from source from top to bottom
🙂