this post was submitted on 07 Mar 2025
99 points (97.1% liked)

Programmer Humor

21167 readers
1025 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
all 27 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 2 days ago (2 children)

Hmmm. I would be excited for these, except I already bit the bullet and switched to Luanti.

Now that I'm spoiled by an insanely fast server, I do totally understand the desire to have a Rust Minecraft server.

[–] [email protected] 3 points 1 day ago (1 children)

I really want to switch to Luanti, but without equivalents to create and ae2 (at a bare minimum) I can't see myself playing it for any significant time.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)

Yeah. I'm still looking for a good answer to create. There's a huge number of technology mods in Luanti, but I haven't found one with the same maturity, yet. If I find one that's close, I may fork and update it, yet.

I think I'm most of the way to having AE2 replaced, for my needs, using Pipeworks and SWRobots.

[–] [email protected] 7 points 2 days ago* (last edited 2 days ago) (1 children)

None of those Rust implementations are fully functional yet, so Luanti seems like a better choice if you want something fast.

[–] [email protected] 5 points 2 days ago* (last edited 2 days ago)

Makes sense. I know there's some amazing Minecraft plugins that haven't been ported to Luanti, yet - and vice-versa.

Of course, I'm happy to be on an open solution with Luanti.

But I might run one of these Rust Minecraft engines for a weekend to revisit an interesting plugin sometime, if they reach full stable mod support.

[–] [email protected] 20 points 2 days ago

"This memory-safe language almost killed the oldest anarchy server in minecraft"

[–] [email protected] 26 points 2 days ago (2 children)

Feature World Lighting: not implemented

Lighting is server side? o.O

I guess because it influences creep spawn or sth?

[–] [email protected] 21 points 2 days ago

Yes, it influences mob spawns

[–] [email protected] 20 points 2 days ago

That's good: it keeps them busy. You know, like Fortnight keeps crazy kids from other games.

[–] [email protected] 12 points 2 days ago

still waiting for one of these implementations to actually be useful

[–] [email protected] 8 points 2 days ago (4 children)

Why write a server in rust? Java is already memory safe 🤔

[–] [email protected] 14 points 2 days ago

Probably performance - the Java server takes up a lot of memory and CPU for what it does. The base implementation first started in 2011, so it wasn't exactly designed to be multithreaded or parallelized because most games were still largely single-threaded at the time. Rewriting it from scratch in a different language probably helps with that

[–] [email protected] 19 points 2 days ago (1 children)

I guess it can be a fun hobby project to learn Rust

[–] [email protected] 4 points 2 days ago

Tbh writing a Minecraft server isn't anywhere on my list of projects to write to learn a new language but you also aren't wrong, just wouldn't be what I'd choose

[–] [email protected] 10 points 2 days ago

Counterpoint: Why the fuck not?

[–] [email protected] 7 points 2 days ago (1 children)
[–] [email protected] 5 points 2 days ago (2 children)

It's not like the Java server is slow tho, it only becomes a problem when mods are added and rust servers can't run Java mods so it's a moot point. Maybe if you want an insanely large number of players on a single server?

[–] [email protected] 7 points 2 days ago (1 children)

It is slow, and a massive memory hog. Its not exactly javas fault (i mean it is to a point). Its just minecraft's code is trash. Mods are the only thing that keeps people on using java.

[–] [email protected] 3 points 2 days ago (1 children)

Well yeah, we all know Minecraft's code is terrible. I just never felt like it was noticeable without mods

[–] [email protected] 3 points 2 days ago (1 children)

Maybe not in single player, but if you try putting more than a few dozen players on one vanilla server, the performance is going down the drain

[–] [email protected] 2 points 2 days ago

I wasn't referring to single player

[–] [email protected] 6 points 2 days ago (1 children)

It's not like the Java server is slow tho, it only becomes a problem when mods are added

Lol, the java server is dogshit slow, it just doesn't show until you have a big enough map if you're not running mods. I played on a semi-public server and was a mod back in the day, and wed regularly have to do world resets because it started slowing down when people got far enough away from the spawn. Hell, even with mods it doesn't start to slow down immediately, it waits until you've done a lot in your world before it starts chugging like dad after work.

[–] [email protected] 3 points 2 days ago

Huh, not my experience but last time I operated a public server was beta 1.7 days. It was bukkit which I believe was a separate impl which maybe was faster? But I don't recall having nearly that many issues, was vanilla outside of bukkit plugins though.

[–] [email protected] 3 points 2 days ago (1 children)

How much game logic is in the servers? Do they need updating for every release or are things like mob behaviour and Redstone handled by the clients?

[–] [email protected] 8 points 2 days ago

Mob behaviour and redstone are not handled by the clients, nor are they implemented by many of these servers. Those behaviors are currently missing.

[–] [email protected] 2 points 2 days ago

Is that one Project seriously named FerrumC-rs?