3 ms·
It's not perfect, but I was surprised how easy it was to get it up and running. It should/might be possible to make it produce a platform independent and cross
by yarg 4y ago
It's not perfect, but I was surprised how easy it was to get it up and running.
It should/might be possible to make it produce a platform independent and cross compile it - but there's a bit of toolchain fuckery that I haven't yet looked into.
Graal supports LLVM IR both from the front-end and the back-end. Using that I think that it should be possible to use the frontend to produce a cross platform jar, and the backend to compile the whole thing back down to LLVM IR.
Then that can be used with LLVM's cross compiling capabilities to produce both Linux and Windows binaries.