News for hackers. Stuff that matters.
Re:Show HN: Redstone, a distributed Minecraft server that ru... by niggler on Thursday March 28, 2013 @08:45PM (#5458599)
"Java or C will be much faster at any computational work"

That is far from clear. I've been using nodejs for some computational work using https://github.com/substack/gamma.js and https://github.com/niggler/bessel and found that the JS version is faster than the straightforward Java implementation.

Re:Show HN: Redstone, a distributed Minecraft server that ru... by halter73 on Thursday March 28, 2013 @09:00PM (#5458668)
The OP made too general of a statement because there are certain cases where V8 can preform better than the JVM; however, generally Java does seem to perform better (ignoring startup time).

http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...

In the linked benchmarks, V8 only has a decided advantage executing regexes.

Re:Show HN: Redstone, a distributed Minecraft server that ru... by gritzko on Friday March 29, 2013 @01:42AM (#5459430)
Heh. Last time I checked v8 regexes were really fast, except their string builder was a disaster... it wrapped every piece of string as a js object (gc and everything).
Re:Show HN: Redstone, a distributed Minecraft server that ru... by Cthulhu_ on Friday March 29, 2013 @05:02AM (#5459839)
Sounds familiar to Java's own string concatenation. In Java you use StringBuilder / Buffer to create larger strings from smaller ones; in Node you'd use Buffers, although I never dived too deep into those.
Re:Show HN: Redstone, a distributed Minecraft server that ru... by loeg on Thursday March 28, 2013 @09:46PM (#5458810)
Well, C will be faster anyways... and the JVM is probably faster than v8 more times than not.