r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

Show parent comments

-6

u/virtyx Feb 22 '15

2 extra milliseconds it may need to start up

More like 4s in my experience. Even if it "doesn't make that big of a difference" it's still needless and should really be tuned/tweaked. Want to write a command-line program in Java? Hope you enjoy the mandatory startup lag... (Same with GUI, etc.)

2

u/[deleted] Feb 22 '15

Woop de fucking do. 4s (a gross over-estimation) is nothing for a web service, and most web frameworks would love a 4s startup. The last RoR project I was on was in the 10s range.

Edit: Also I'm calling BS on 4s. Clojure is in the ~2.5s range. There is no way Java is slower than Clojure on the startup front.

1

u/virtyx Feb 22 '15

The point is that it's a bit of a killer for command line apps. Compare Maven start time to e.g. something like Fabric.

Although you're right calling me on my BS, I actually was thinking of Clojure. Whoops!

1

u/[deleted] Feb 23 '15

Indeed, Clojure's startup time is too damned slow for CLI apps. Shame, it's fun to write but it does not fit in that niche, although there are already a crap ton of choices for good CLI apps, tbh.