Show HN: Redstone, a distributed Minecraft server that runs on Node.js
51–60 of 61 posts
Re: Show HN: Redstone, a distributed Minecraft server that runs on Node.js
#52Earlier quoted context omitted.
"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.
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 runs on Node.js
#53How are people doing this? Are they reverse engineering Minecraft or is the server side fairly straightforward?
Re: Show HN: Redstone, a distributed Minecraft server that runs on Node.js
#54Earlier quoted context omitted.
Manic Digger ( http://manicdigger.sourceforge.net/ ) used to connect to Minecraft Classic servers. And a client for full Minecraft was planned. But Notch didn't like seeing alternative clients, so I removed it from the game. Also, see http://wiki.vg/Client_List
That's one of the reasons I don't like Notch. This game is literally perfect for WebGL. The rendering done is minimal, the CPU work done is minimal, the textures are (or could be) tiny, and the code required would be tiny. But no, it's STILL in Java. Why?
Re: Show HN: Redstone, a distributed Minecraft server that runs on Node.js
#55Earlier quoted context omitted.
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.
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 runs on Node.js
#56Seriuosly interested, why is Node.js better suited as a gameserver than say C or Java ? What exactly are you doing on the serverside? Is it an authorative setup or are you just passing position messages around (in which cases huge amounts of players wouldnt be suprising) ? Did you reverse engineer minecrafts multiplayer protocol or is this an alternate implementation? EDIT just looked it up and it seems like the mine…
Sure, Java or C will be much faster at any computational work. And I am no node.js fan-boi. But doing actual asynchronous local-file IO in C is non-trivial, and if their server is not CPU bound, there doesn't seem to be anything wrong with using node.js. Could you also use libuv from C? Sure.
Re: Show HN: Redstone, a distributed Minecraft server that runs on Node.js
#57[edit] I dug a hole, fell through, respawned, fell through my own hole. I'm sorry. I'm afraid everyone will fall through it now.
Re: Show HN: Redstone, a distributed Minecraft server that runs on Node.js
#58Re: Show HN: Redstone, a distributed Minecraft server that runs on Node.js
#59How can it be on the front page of HN without any players in it? Or is that a bug as well? I'm flying around in a near-pristine and empty world. [edit] I dug a hole, fell through, respawned, fell through my own hole. I'm sorry. I'm afraid everyone will fall through it now.
Re: Show HN: Redstone, a distributed Minecraft server that runs on Node.js
#60Please tell me you are going to opensource / release this, this would be so awesome for some Minecraft Related projects i'm doing ( Gigantic PVP & RPG Servers ) I just can't go >600 Players w/o lag on a decent E3 Series.