https://labs.leaningtech.com/blog/cheerpj-4.0
And yes, it can run Minecraft :-)
I used it to make a program that logs all activity happening on the Pioneer CDJs. The best reverse engineering of the Pioneer protocols is a Java project, but I wanted to write the rest of my application in Go.
GraalVM plus a GitHub action spits out native binaries that I can exec and interact with over stdio from Go.
If/when the WASM backend supports UDP networking and threads I'd love to run it as WASM instead of a binary.
- https://github.com/nzoschke/vizlink
- https://github.com/nzoschke/vizlink/blob/main/.github/workfl...
GraalVM is so amazing technically, but gets so little love by HN.
This post references the ability to compile programs via native images to WASM as an output format.
https://www.oracle.com/downloads/licenses/graal-free-license...
Everyone else in the world probably does not see this as "straight forward".
So Step 0, be a lawyer.
https://blogs.oracle.com/java/post/free-java-license
Any company using Java should be willing to read and understand Oracle's terms, whether they use third party OpenJDK distributions or Oracle's builds.
If you're leaving significant performance gains on the table because you can't read, that's on you.
That’s much better than I expected! Very impressive work here. It actually looks viable for certain applications.
GraalVM is excellent technology, but when it comes to targeting Wasm, I believe the core language compilers will always have an edge.