Hacker News new | ask | show | jobs
by cthackers 4786 days ago
i think i would rather build a binary for each platform and run as fast as possible than to build once and run slow on all platforms.
4 comments

Except that Java code typically runs as fast or faster in the JVM than compiled Go code[1]. Of course, Go is still new and gc and gcc-go will be optimized further.

But Java bytecode execution is definitely not slow and usually within 2x the execution time of a C implementation, which is faster than the vast majority of other language implementations.

[1] At least in the language benchmarks game. Yes, I know that microbenchmarks are not representative, etc. etc. etc. (Until your favorite language is faster ;).)

Java is a damn memory hog, but for server-side kind of stuff, not really slow.
Only it's the reverse. Java runs faster than Go.
For now, if this continues to narrow it will not be true much longer: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...
This is a false dichotomy.