r/programming • u/knife_sharpener • 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
3
u/Milyardo Feb 22 '15 edited Feb 22 '15
The discussion was specifically about the start-up time of the JVM and the Java runtime.
I already mentioned this fact, but that's not why a Scala's Hello World would take longer to startup. The number of classes you have on the classes you have on the class path is irrelevant, classes are only loaded on the JVM as they're used. In this case Predef.scala and Console.scala are the only extra classes used.
Scala would take longer to startup because of the
scalashell script executable which runs MainGenericRunner, bootrapping the compiler before running our hello world script that was already compiled.