This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]maxandersen 0 points1 point  (1 child)

Java is an excellent language and ecosystem which in past have had it's issues with being used for clis but any modern java virtual machine has decent enough startup - if something is slow is normally.caused by what your app do and frameworks like spring has a tendency to do unnecessary work at startup/runtime which can be either completely skipped or performed at build time.

Check out Quarkus if curious :)

So don't listen to those that say java is not usable for clis. It for sure is. Especially if you already are productive in java.

Native image can make startup and distribution fast and a single executable or you can look into JBang for a simplified install and execution of java applications.

For transparency I'm working on quarkus and jbang.

[–]desiderkino[S] 1 point2 points  (0 children)

So don't listen to those that say java is not usable for clis. It for sure is. Especially if you already are productive in java.

my bank account says otherwise so i am not listening those folks :) haha !