Lurker News

Comments (153) 26 threads

Earlier comments
xx_ns#
Pumpkin is already on that list.
JadoJodo#
It's pretty funny how many of these are "Is it a Minecraft server? No. It's a framework with which you can build your own rewrite of Minecraft server."
whalesalad#
This got me thinking - is Rust really the right tool for the job? And I thought, Elixir/Erlang feels like the perfect tool. Sure enough, someone did it! Great reference material for someone learning how to do things on the beam https://github.com/thecodeboss/minecraft
Imustaskforhelp#
Lmao it is funny how we have daysinceX websites. is there a list of all such websites of daysinceXofY like dayssincelatestframeworkofnode I guess?
AbraKdabra#
omfg haha.
culi#
Hilarious site but a little unjustified. Out of those, only Valence is a real "this already exists" argument. There's 7 total and the first 3 are dead and the latest 3 (incl pumpkin) are all 2024. And all of the 2024 ones explicitly differentiate themselves from Valence which is more of a framework that focuses on modularity. These latest 3 all look like healthy competitors that are all amicable towards each other

  |          | released | stars | last_update |
  |----------|----------|-------|-------------|
  | feather  | 19aug    | 2,614 | 2 years ago |
  | mchprs   | 20jun    | 1,632 | last month  |
  | graphite | 22jun    | 160   | 2 years ago |
  | valence  | 22sep    | 2,731 | 3 days ago  |
  | hyperion | 24mar    | 361   | today       |
  | pumpkin  | 24jul    | 965   | today       |
  | ferrumc  | 24sep    | 673   | today       |
kgeist3 replies#
What does "modern" mean in this context?
alex_medvedev1 reply#
Its written from the ground up and has a clean foundation (which is not the case in vanilla minecraft server code). We also want to use cool modern features like multi-threading or the rust language which is a modern language designed to fix mistakes from older languages
philipwhiuk5 replies#
> cool modern features like multi-threading

Java 6 had multi-threading

Imustaskforhelp#
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

nijave3 replies#
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.

Continue this thread — 3 replies

giancarlostoro#
While Java does, the Minecraft server architecture does not.
plandis#
I think they are being sarcastic because the vanilla Minecraft server is heavily single threaded.
xxs1 reply#
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?

Continue this thread — 1 reply

slgeorge3 replies#
"Modern" seems to be used a loose adjective these days for "I rewrote $thing [in Rust]". Minecraft was created in 2011, and is Wikipedia says the last version of the 'classic' edition was released in 2017. So anything after 2017 is now defunct.

I don't mind people rewriting things in but "modern" as a value seems pretty loose, and it's often at least arguable whether it's objectively better!

codetrotter2 replies#
“Modern” more usually means some new JavaScript thing. In JS land, they consider anything that hasn’t had a commit on main branch in over 3 days to be a dead old project in need of being replaced with something new and “modern” that is up to date with the latest trends and breaking changes from the previous 24 hours of their world.

Usually the hyperbolic superlative for Rust projects is “blazing fast”. Of course, any kind of benchmarks or comparisons with other implementations are completely optional. It is simply enough to “cargo init” and start hammering out code. You don’t even need to consider the characteristics of the algorithms you choose to use! If it’s Rust, it’s “blazing fast”.

c-hendricks#
Where's that meme of the guy painting demons then laying down on the floor in fear when you need it.
renewiltord5 replies#
Your most starred repo is inferior to a shell one-liner lol. Talk about pot calling the kettle black. Just use the system dict, shuf, grep, and head.

It’s bad form to badmouth someone’s earnest work for sure. I wouldn’t do it normally since I think it’s nice that you actually did something. But if you’re going to sit in a glass house and throw stones you should expect some back.
Fortunately, my house is an underground burrow so I can throw stones with impunity. As ugly as it is to do.

Continue this thread — 5 replies

alex_medvedev1 reply#
Sorry, I may should not used the term Modern, Lets say the foundation is newer and more optimized than from the Original Minecraft server. Mojang developers have strict deadlines and do not care about performance (like basicly any big Studio today). This results in bad ugly code which only purpose it is to work nothing more. Minecraft was created 2009 btw
ramenlover1 reply#
I'd argue they care about performance, but they also care about a whole slew of other things that also require prioritization to maintain the game and its cottage industry. Not a huge fan of the constant dogging on mojang everyone loves to engage in...

Continue this thread — 1 reply

lucb1e1 reply#
> "modern" as a value seems pretty loose, and it's often at least arguable whether it's objectively better!

Well, there is research on this!
https://security.googleblog.com/2024/09/eliminating-memory-s... writes:
> vulnerabilities decay exponentially. They have a half-life. [...] A large-scale study of vulnerability lifetimes² published in 2022 in Usenix Security confirmed this phenomenon. Researchers found that the vast majority of vulnerabilities reside in new or recently modified code
Where ² goes to https://www.usenix.org/conference/usenixsecurity22/presentat...
A study limitation is that they looked only at security-relevant bugs (vulnerabilities). As someone who writes code, I would tend to think that this also goes for bugs without a direct security impact, but I don't have the data to back that notion up

Aeolun1 reply#
Feels kinda obvious to me? As time goes on bug density can only go on direction, and making no changes to a codebase certainly doesn’t make it go up.

Continue this thread — 1 reply

jspaetzel#
Modern in software terms almost always just means recently written. Last couple years. It's a pretty useless adjective to describe software.

E.g. sqlite probably wouldn't be called modern, but everyone loves it so who cares.

FrustratedMonky2 replies#
Love the idea. Especially as a learning example. Always fun to learn a language by implementing a popular game.

Am confused by these two lines. Maybe it is just difference between the 'goal' and the 'current state'.
Goal:
"Compatibility: Supports the latest Minecraft server version and adheres to vanilla game mechanics. "
But NOT:
"Be a drop-in replacement for vanilla or other servers "
Will it be a replacement for Vanilla or not?

hexmiles1 reply#
Compatibility: refers to the ability for client of the latest mincraft server version to be able to connect to the server (pumpkin) unmodified with all mechanics working.

Drop-in replacement: refer to the ability of a server operator to simply exchange the current installation/executable of the server (be vanilla, paper, cuberite, etc...) for pumpkin while maintaining data, configuration, scripts and mods installed.
edit: grammar

FrustratedMonky4 replies#
Tell you the truth, that doesn't help clarify to me much.

If it is compatible, then can't I 'drop it in'.
They sound like they are saying the same thing.
It is compatible so clients can connect to the server and be fully operational, and thus, I should be able to drop in this server, and use it as a server?
How can it be compatible if it doesn't maintain data, configuration, etc..
Edit: or is this about Pumpkin files. Pumpkin will maintain it's own files, data, configuration. So it can't just use existing Minecraft data files.
So if it was a new world, Pumpkin would generate new pumpkin formatted files. But couldn't just 'drop it in' on an existing world and use the existing Minecraft data files.
Not sure of long term viability as far as effort, but if it is files, couldn't a converter from MineCraft to Pumpkin file structure, make the server 'drop in'?

hakanderyal#
Drop-in means replacing an existing thing with a new one without changing anything.

This is not compatible with other servers plugins/data/configurations, so just replacing the binary and expecting to continue where you left off is not possible.

p0w3n3d3 replies#
I would say that Minecraft servers by some qualities are really hard to implement (for example generate world as Java would - using Java's random number generator to generate exactly the same world in Rust) or even impossible. But other usages, like walking through existing world with 1000 of your colleagues might be worth of writing a very fast but not a "drop in replacement" server. Or a massive minigame maybe?

Continue this thread — 3 replies

hoseja4 replies#
Compatible: You start a Pumpkin server, vanilla clients can join and play.

Drop-in: You run a server for some time. You decide to switch the software by replacing the executable. Everything works as before.

Continue this thread — 4 replies

Arch-TK2 replies#
Maybe some more concrete examples may help:

* nginx is not a drop in replacement for apache
But from a client perspective, both implement HTTP/1.1.
* podman is not a drop in replacement for docker
But from a client perspective connecting to a service hosted in docker, that connection can still occur over TCP.
On the other hand:
* pkgconf is a drop in replacement for pkg-config
* cronie is a drop in replacement for vixie-cron

Continue this thread — 2 replies

alex_medvedev2 replies#
Hey, With Compatibility i mean be compatible with existing Minecraft vanilla client's and also use vanilla logic. With "Be a drop-in replacement for vanilla or other servers" i mean that if you just replace the existing server file with pumpkin, pumpkin will not load configs/plugins from vanilla/other servers
giancarlostoro#
> i mean that if you just replace the existing server file with pumpkin, pumpkin will not load configs/plugins from vanilla/other servers

Will it ever though? Is this a goal?

FrustratedMonky#
Hello

I see it is not a drop in when using other tools, plug ins, 3rd party things.
But what about just a plain vanilla world.
Can Pumpkin read in and use the plain vanilla files? Does it do some kind of conversion and have it's own file structure?
So if I had a simple server, it could be a drop-in.
Or does the world need to be generated new inside Pumpkin? I can't use existing worlds.

Imustaskforhelp#
yes , I was also thinking about this . +1
alex_medvedev1 reply#
Hi, Valence is a framework (similar to Minestom in Java). You have to build everything you self. Pumpkin is not a framework :D. Also Valence is bit unactive (look commits)
tomasff#
That's why I said "clean room implementation". Any reason why Pumpkin does not build on top of Valence? Would be great to see a more cohesive ecosystem for Minecraft servers in the rust community rather than reinventing the wheel

Load more comments