News for hackers. Stuff that matters.
Re:Pumpkin: A Modern Minecraft server written in Rust by philipwhiuk on Tuesday October 15, 2024 @12:35PM (#41850348)
> cool modern features like multi-threading

Java 6 had multi-threading

Re:Pumpkin: A Modern Minecraft server written in Rust by nijave on Tuesday October 15, 2024 @01:09PM (#41850689)
The limitation isn't the Java version, it's the way the MC code was architected.

Iirc part of original Minecraft's performance limitations were high object create/destroy rate leading to lots of garbage collection. With that in mind, picking a non-GCd language isn't completely crazy.

Re:Pumpkin: A Modern Minecraft server written in Rust by kgeist on Tuesday October 15, 2024 @02:25PM (#41851542)
It was the other way around: say, the original code as written by Notch had functions like setPosition(x,y,z) and it was okay. When Jeb got in charge, he said "it's not object-oriented enough" and rewrote everything to setPosition(position). And boom, 1GB/sec allocations...
Re:Pumpkin: A Modern Minecraft server written in Rust by intelVISA on Tuesday October 15, 2024 @05:03PM (#41853091)
How horrifying!
Re:Pumpkin: A Modern Minecraft server written in Rust by philipwhiuk on Tuesday October 15, 2024 @08:21PM (#41854441)
I'm just saying, there's nothing "modern" about multi-threading.
Re:Pumpkin: A Modern Minecraft server written in Rust by giancarlostoro on Tuesday October 15, 2024 @01:10PM (#41850697)
While Java does, the Minecraft server architecture does not.
Re:Pumpkin: A Modern Minecraft server written in Rust by plandis on Tuesday October 15, 2024 @01:55PM (#41851157)
I think they are being sarcastic because the vanilla Minecraft server is heavily single threaded.
Re:Pumpkin: A Modern Minecraft server written in Rust by Imustaskforhelp on Tuesday October 15, 2024 @12:39PM (#41850387)
I read this in the most satirical way possible like as if a godly narrator said it calmly.

It was really funny. It felt like a Satire LMAO

Re:Pumpkin: A Modern Minecraft server written in Rust by xxs on Wednesday October 16, 2024 @08:30AM (#41858320)
java 1.0 (even 0.9) did have. The 1st language with a memory model was java 5 (1.5), which was back ported to 1.4.2. 1.4(.2) already had non-blocking I/O as well.

Why pick 6, though?

Re:Pumpkin: A Modern Minecraft server written in Rust by philipwhiuk on Sunday October 20, 2024 @05:23PM (#41898590)
I just picked an old enough version that I knew had it and the original Minecraft could have chosen to use.

(I've never written pre Java 6 code)