3 ms·
Doesn't GraalVM have both a WASM frontend and backend?
by chrisseaton 4y ago
Doesn't GraalVM have both a WASM frontend and backend?
- grashalm 4y agoNo, there is only a frontend. There is a JavaScript backend though. I hope the GC proposal for WASM ultimately goes through to enable a backend in WASM too.
- chrisseaton 4y agoMaybe I saw a demo round-tripping through LLVM then.
- frant-hartm 4y agoWhat does frontend and backend mean in this context? With graal you can - run wasm interpreted on OpenJDK, similar to javascript running interpreted in nashorn, or now graalvm, you just need to add couple of graal sdk jars to your dependencies - run wasm compiled, you need to run on GraalVM for this. This is supposed to provide around 50x speedup compared to previous point
- chrisseaton 4y agoFrontend means can you take WASM code and feed it into Graal as input. Backend means can you get Graal to produce WASM code as output.