> Try a GraalVM native image. Milliseconds. Gone.
Try building a GraalVM native image. Minutes gone.
I agree the build might take a bit extra but its for sure not much for smaller clis. Making jbang native added 1-2 minutes and its all done in github action runners so in practice I don't see this as a problem as it does not affect the end user.
More gigabytes of ram than your machine has will be gone too.
Luckily, that's only during aot compilation and not runtime.
Right but the inspiration for this article is using Java as a terminal vibe coding language, so the aot step would be part of the critical path.
I’m not surprised this was not obvious to the LLM that “cleaned up my notes” for the “author”.
I agree the build might take a bit extra but its for sure not much for smaller clis. Making jbang native added 1-2 minutes and its all done in github action runners so in practice I don't see this as a problem as it does not affect the end user.
More gigabytes of ram than your machine has will be gone too.
Luckily, that's only during aot compilation and not runtime.
Right but the inspiration for this article is using Java as a terminal vibe coding language, so the aot step would be part of the critical path.
I’m not surprised this was not obvious to the LLM that “cleaned up my notes” for the “author”.