2026: The Year of Java in the Terminal?
11–20 of 191 posts
Re: 2026: The Year of Java in the Terminal?
#12Re: 2026: The Year of Java in the Terminal?
#13Try building a GraalVM native image. Minutes gone.
Re: 2026: The Year of Java in the Terminal?
#14I would rather shove ice picks covered in lemon juice than provide Java or Ellison anymore room in the digital ecosystem. And I’m not talking politics here wrt Ellison, just awful
Re: 2026: The Year of Java in the Terminal?
#15Even with all this it takes me substantially less time to get go, python, or ts working as a cli. Java cli is a solution looking for a problem
Re: 2026: The Year of Java in the Terminal?
#16Java startup time shouldn't really be an issue with a terminal program. I have written some pretty complex Java and Rust and C++ terminal programs, they are basically indistinguishable on run time. The reason Java starts up slow for most people is that they are running webapps with Spring and 50 dependencies and loading Tomcat, not because they are just booting a JVM and running through some functions. Getting AoT co…
I was amazed when I tried Graal the first time, but also had to think that this is probably what C/C++ or Rust devs just see as "normal".
Re: 2026: The Year of Java in the Terminal?
#17The moment you introduce the jvm, is the moment people flee. Graal would be needed and then your binaries would be huge. No thanks. Go is much simpler. Rust is much smaller. Java can go die in the office storage closet.
C is simpler, Python is simpler, but Go?
Re: 2026: The Year of Java in the Terminal?
#18Java on the other hand makes it impossible to get a single distributable. There is no way to get your jar + the vm into a binary. You could use graal native image, but build times are super slow, use too many resources, and it’s non-trivial to get working.
Build tooling in the Java ecosystem just isn’t good enough.
Re: 2026: The Year of Java in the Terminal?
#19> Try a GraalVM native image. Milliseconds. Gone. Try building a GraalVM native image. Minutes gone.
Re: 2026: The Year of Java in the Terminal?
#20Very clearly written by AI. Java in the terminal sounds awful. Programming Java is awful. No thank you.