elk
elk copied to clipboard
Build native json CLI executables
I've put together a PoC here for using graalvm to compile native executables https://github.com/benlongo/elk-cli/. The github action seems to work. I'm definitely missing some jars in there and the reflection config may not be 100% complete.
The CLI strictly takes JSON in over stdin and outputs the layout to stdout for now.
This sounds very nice feature others might be interested in. Have you considered creating a PR? Or do you want us to include this in our documentation once it is finished? For which use case are you using this?
I'm willing to make a PR to merge the work in that repo, but I'm unsure how the licensing of GraalVM interacts with elk. I'll also need some guidance on how to integrate with the build system as I am largely unfamiliar with JVM build tools.