News for hackers. Stuff that matters.
Re:Hello World execution time by beaumartinez on Sunday June 26, 2011 @03:33PM (#2698850)
I'd like to know what version (and vendor, especially in the case of Java) of each he was running. I've heard time and time again that "Java isn't as slow any more" and maybe that is the case with the "newer" Sun (and Oracle) versions.

However, as one of the later mails[1] says, "such a short program doesn't give the JIT time to warm up"—"Hello world" is a poor comparison to real-world performance.

http://lists.nongnu.org/archive/html/chicken-users/2011-03/m...

Re:Hello World execution time by sheffield on Sunday June 26, 2011 @03:51PM (#2698914)
Java running times can be really good, but the startup times are terrible. See the recently posted Eclipse speed-up article: http://news.ycombinator.com/item?id=2694840 .
Re:Hello World execution time by repsilat on Sunday June 26, 2011 @07:21PM (#2699423)
> a poor comparison to real-world performance

That depends on what you mean by "real-world performance". The board on which this conversation takes place compares Java to Python, bash and C. Their "real-world" probably consists of a bunch of short-lived small programs on the command line, lots of i/o pipelines etc etc. I think the benchmark gives a meaningful measure of "fit-for-purpose" for that kind of workload.