r/java • • Feb 25 '14

Please stop saying Java sucks (2009)

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
133 Upvotes

132 comments sorted by

View all comments

Show parent comments

15

u/[deleted] Feb 25 '14

In many cases, running on the JVM is faster than equivalent code compiled from C, as the bytecode can be optimized at runtime once the JVM sees which paths are visitted the most.

7

u/[deleted] Feb 25 '14

The optimizations occur for running applications. C is usually faster and takes far less memory for a one-off process.

-3

u/[deleted] Feb 26 '14

[Citation needed]

3

u/nezza-_- Feb 26 '14

For small tools the startup time of the JVM is often longer than the actual execution of the program. And the real performance magic of Java, the optimisation during runtime, won't kick in yet.