5 ms·
The JVM is not usable for short-living processes such as command-line tools. Apart from the ecosystem and the language itself, it's often the reference (or onl
by untitaker_ 12y ago
The JVM is not usable for short-living processes such as command-line tools.
Apart from the ecosystem and the language itself, it's often the reference (or only) implementation which makes it unsuitable for a particular job.
- pjmlp 12y agoThere isn't "The JVM", there are certified JVMs and quite a few of those allow for AOT compilation to native code.
- Teckla 12y ago...quite a few of those allow for AOT compilation to native code Do you know of any good and free ahead-of-time Java compilers that produce native binaries without any additional dependencies? I haven't been able to find any, but perhaps my Google-fu is weak. gcj is obviously not a good answer.
- pjmlp 12y agogcj is dead. For good ones I only know of commercial like Aonix, Websphere Real Time, Excelsior JET, JamaicaVM and a few others. If you want to go free and are happy just with GNU/Linux and Mac OS X/iOS, then RoboVM might be an option. If you want to go research, there is Graal/SubstrateVM from Oracle Labs and JikesRVM, a meta-circular JVM.
- diltonm 12y agoI don't understand the argument, I've used it for several small CLI tools, it works great.