Skip to content

Comment on Hello World execution timeparent

Comments

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...

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 .

> 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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.