▲ 104 ▼ Days since last Rust Minecraft server (dayssincelastrustmcserver.com) submitted 1 year ago by qaz@lemmy.world to c/programmer_humor@programming.dev 28 comments fedilink hide all child comments
[–] Scoopta@programming.dev 8 points 1 year ago (4 children) Why write a server in rust? Java is already memory safe 🤔 permalink fedilink source hideshow 8 child comments replies: [–] magic_lobster_party@fedia.io 20 points 1 year ago (1 child) I guess it can be a fun hobby project to learn Rust permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 4 points 1 year 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 permalink fedilink source parent [–] Zangoose@lemmy.world 16 points 1 year 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 permalink fedilink source parent [–] coldsideofyourpillow@lemmy.cafe 10 points 1 year ago Counterpoint: Why the fuck not? permalink fedilink source parent [–] mousetail@programming.dev 8 points 1 year ago (1 child) But is it fast? permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 5 points 1 year 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? permalink fedilink source parent hideshow 4 child comments replies: [–] piccolo@sh.itjust.works 8 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 3 points 1 year ago (1 child) Well yeah, we all know Minecraft's code is terrible. I just never felt like it was noticeable without mods permalink fedilink source parent hideshow 2 child comments replies: [–] sus@programming.dev 2 points 1 year ago (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 2 points 1 year ago I wasn't referring to single player permalink fedilink source parent [–] spooky2092@lemmy.blahaj.zone 5 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 3 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] 0laura@lemmy.dbzer0.com 2 points 1 year ago Minecraft Performance also got a LOT worse since 1.7 Minecraft Performance over time is like Moore's law on steroids but upside down. permalink fedilink source parent
[–] magic_lobster_party@fedia.io 20 points 1 year ago (1 child) I guess it can be a fun hobby project to learn Rust permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 4 points 1 year 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 permalink fedilink source parent
[–] Scoopta@programming.dev 4 points 1 year 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 permalink fedilink source parent
[–] Zangoose@lemmy.world 16 points 1 year 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 permalink fedilink source parent
[–] coldsideofyourpillow@lemmy.cafe 10 points 1 year ago Counterpoint: Why the fuck not? permalink fedilink source parent
[–] mousetail@programming.dev 8 points 1 year ago (1 child) But is it fast? permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 5 points 1 year 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? permalink fedilink source parent hideshow 4 child comments replies: [–] piccolo@sh.itjust.works 8 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 3 points 1 year ago (1 child) Well yeah, we all know Minecraft's code is terrible. I just never felt like it was noticeable without mods permalink fedilink source parent hideshow 2 child comments replies: [–] sus@programming.dev 2 points 1 year ago (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 2 points 1 year ago I wasn't referring to single player permalink fedilink source parent [–] spooky2092@lemmy.blahaj.zone 5 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 3 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] 0laura@lemmy.dbzer0.com 2 points 1 year ago Minecraft Performance also got a LOT worse since 1.7 Minecraft Performance over time is like Moore's law on steroids but upside down. permalink fedilink source parent
[–] Scoopta@programming.dev 5 points 1 year 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? permalink fedilink source parent hideshow 4 child comments replies: [–] piccolo@sh.itjust.works 8 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 3 points 1 year ago (1 child) Well yeah, we all know Minecraft's code is terrible. I just never felt like it was noticeable without mods permalink fedilink source parent hideshow 2 child comments replies: [–] sus@programming.dev 2 points 1 year ago (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 2 points 1 year ago I wasn't referring to single player permalink fedilink source parent [–] spooky2092@lemmy.blahaj.zone 5 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 3 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] 0laura@lemmy.dbzer0.com 2 points 1 year ago Minecraft Performance also got a LOT worse since 1.7 Minecraft Performance over time is like Moore's law on steroids but upside down. permalink fedilink source parent
[–] piccolo@sh.itjust.works 8 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 3 points 1 year ago (1 child) Well yeah, we all know Minecraft's code is terrible. I just never felt like it was noticeable without mods permalink fedilink source parent hideshow 2 child comments replies: [–] sus@programming.dev 2 points 1 year ago (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 2 points 1 year ago I wasn't referring to single player permalink fedilink source parent
[–] Scoopta@programming.dev 3 points 1 year ago (1 child) Well yeah, we all know Minecraft's code is terrible. I just never felt like it was noticeable without mods permalink fedilink source parent hideshow 2 child comments replies: [–] sus@programming.dev 2 points 1 year ago (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 2 points 1 year ago I wasn't referring to single player permalink fedilink source parent
[–] sus@programming.dev 2 points 1 year ago (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 2 points 1 year ago I wasn't referring to single player permalink fedilink source parent
[–] Scoopta@programming.dev 2 points 1 year ago I wasn't referring to single player permalink fedilink source parent
[–] spooky2092@lemmy.blahaj.zone 5 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Scoopta@programming.dev 3 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] 0laura@lemmy.dbzer0.com 2 points 1 year ago Minecraft Performance also got a LOT worse since 1.7 Minecraft Performance over time is like Moore's law on steroids but upside down. permalink fedilink source parent
[–] Scoopta@programming.dev 3 points 1 year ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] 0laura@lemmy.dbzer0.com 2 points 1 year ago Minecraft Performance also got a LOT worse since 1.7 Minecraft Performance over time is like Moore's law on steroids but upside down. permalink fedilink source parent
[–] 0laura@lemmy.dbzer0.com 2 points 1 year ago Minecraft Performance also got a LOT worse since 1.7 Minecraft Performance over time is like Moore's law on steroids but upside down. permalink fedilink source parent