graalvm

Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to https://github.com/clj-easy/graal-docs and https://github.com/BrunoBonacci/graalvm-clojure. GraalVM slack: https://www.graalvm.org/slack-invitation/.
Helins 2021-02-22T13:14:23.000300Z

Multi-threading is already kind of possible but relying on webworkers and experimental features (and/or poorly supported ones such as SharedArrayBuffers). Future will tell how well the end result compares to actual OS threads. GC is definitely something to think about. I don't know where the current proposals is leading. In anycase, for instance, Graal's native image embedds a GC when needed. If they do plan to target WASM (which is not unthinkable), they might be able to reuse all that, who knows. And regarding stuff like http calls going through JS (or any IO, really), this is just temporary. The end goal is clearly to expose browsers API directly to WASM but some work elsewhere needs to be done first to be effective (eg. type interfaces for exchanging complex types such as strings). The future looks very promising :)