News for hackers. Stuff that matters.
Re:Oracle Contributing GraalVM Community Edition Java Code t... by chrisseaton on Wednesday October 26, 2022 @01:41PM (#33346936)
Doesn't GraalVM have both a WASM frontend and backend?
Re:Oracle Contributing GraalVM Community Edition Java Code t... by grashalm on Wednesday October 26, 2022 @02:00PM (#33347196)
No, 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.
Re:Oracle Contributing GraalVM Community Edition Java Code t... by chrisseaton on Wednesday October 26, 2022 @02:03PM (#33347232)
Maybe I saw a demo round-tripping through LLVM then.
Re:Oracle Contributing GraalVM Community Edition Java Code t... by frant-hartm on Wednesday October 26, 2022 @03:00PM (#33347867)
What 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

Re:Oracle Contributing GraalVM Community Edition Java Code t... by chrisseaton on Wednesday October 26, 2022 @03:04PM (#33347922)
Frontend 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.