Тёмный

Making Minecraft 100x faster (by rewriting it in Rust) 

Theo - t3․gg
Подписаться 349 тыс.
Просмотров 5 тыс.
0% 0

Опубликовано:

 

30 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@montytrollic
@montytrollic 4 часа назад
<a href="#" class="seekto" data-time="342">5:42</a> The reason why light gets recalculated on the server is due to logic tied to spawning mobs in dark places and so on.
@nicolaska1761
@nicolaska1761 2 часа назад
Yes the benchmarks shows a 20x perf gap, but if the 3 most demanding tasks are not currently available this benchmark means nothing
@rokasbarasa1
@rokasbarasa1 4 часа назад
I like how we all in the Rust community gravitated to minecraft for coding challenges. I myself have remade a simple minecraft single player in Rust.
@skellious
@skellious 2 часа назад
Gotta make your redstone computer faster. Can't speed up the Redstone? Rewrite the universe!!
@untitledgoose5526
@untitledgoose5526 4 часа назад
another buggy minecraft version on the way
@gorak9000
@gorak9000 4 часа назад
It's like standards? The greatest thing is how many there are?
@partykid4
@partykid4 4 часа назад
The main problem for Minecraft servers isn't the RAM usage, it's actually CPU usage. The base game is still single-threaded, so the vanilla server and it's modded forms (Spigot/Paper/Sponge/Forge/Fabric) are all also still largely single-threaded. As Mojang has added stuff to the game, the demand on servers has outpaced the improvement in single-threaded performance of new CPUs, meaning servers can hold less and less people with every update. The solution to this of course, is to multi-thread it. However, as you pointed out in your video, with how much stuff actually runs on the server that's no small feat. Modding the base server to be multi-threaded is basically impossible (there is actually a project called Folia that is **kind of** doing this, and has had great success, but isn't ideal and causes a lot of issues), so the only real choice is a complete rewrite. I personally do not think we'll ever see a feature-complete rewrite of the server, at least not from the community. It's just too much work, and with the increasing frequency of updates maintaining it long term would be next to impossible.
@juxuanu
@juxuanu 2 часа назад
One can only hope all community efforts consolidate into one project, and at some point Microsoft starts contributing to it.
@StefanErwinBaumer
@StefanErwinBaumer 3 часа назад
I mean yea this isn't using many resources, but there's *so much* that this isn't doing, so while this is a neat project, it doesn't say much about the performance of any of the technologies involved also on RAM use: when you see the empty server RAM use, you need to account for the fact that the JVM preallocates a bunch of empty heap space, so it'll be vastly bigger on an empty server, but gain almost no RAM use when the first player joins
@ray73864
@ray73864 4 часа назад
Why would you think that the light should not be calculated on the server when playing server side? The server needs to know where to spawn mobs, etc... Also, I don't know about the server side, but Mojang has been releasing an obfuscation map for Minecraft for about a decade now at least.
@salvehn
@salvehn 3 часа назад
for me it was Garry's mod with wiremod and Expression 2 programming language. definetly wouldn't become dev if didn't play them during school it was slow as well. can't wait for S&Box to add proper sandbox mode with similar stuff
@pwall
@pwall 3 часа назад
Theo, no. You are *wrong* we do have the official Java, Minecraft server source code.
@pigeonprotagonist6357
@pigeonprotagonist6357 4 часа назад
World border has been added in the time it took to release this video
@andrewk2756
@andrewk2756 3 часа назад
><a href="#" class="seekto" data-time="598">9:58</a> I'm impressed, it's running and it's running well >% CPU: 105 >???
@belliel42
@belliel42 2 часа назад
100 = 1 core
@Meiallu
@Meiallu 2 часа назад
It's not actually that impressive, there is NOTHING hapenning, most of it is being used for world generation, and there is basically no world hapenning, no light (which is expensive as fuck, and also, theo, mobs depend on light so it does need to be calculated on the server) no saving, no nothing, it's just the player and a extremely basic world, for something like this i'd actually expect better performance, really, not really fair to compare that to paper, vanilla, etc.
@BryanLu0
@BryanLu0 2 часа назад
The server basically runs all the game logic, so it's not surprising that main game mechanics like lighting would be server side. <a href="#" class="seekto" data-time="385">6:25</a>
@happieplantnl
@happieplantnl 3 часа назад
This video was so interesting, please release more nerdy technical minecraft stuff :)
@David-gj6dc
@David-gj6dc 2 часа назад
Lights are server side because it decides whether mobs can spawn there are not, so actually not that crazy.
@BryanLu0
@BryanLu0 2 часа назад
<a href="#" class="seekto" data-time="400">6:40</a> Mojang has been releasing deobfuscation maps for 5 years now, although it's not everything (e.g. function arguments) it's definitely enough for deobfuscation
@BryanLu0
@BryanLu0 2 часа назад
11:29 ??? Even if the server code wasn't well understood, redstone and command blocks are very well understood
@BryanLu0
@BryanLu0 2 часа назад
While Bedrock does have some outstanding bugs (dieing of no fault of your own) you have to admit it runs pretty well
@SAsquirtle
@SAsquirtle 4 часа назад
can't believe there are people who think bedrock is better than java lmfao
@rudrecciah
@rudrecciah 4 часа назад
<a href="#" class="seekto" data-time="1010">16:50</a> THATS OOMF 🔥🔥🔥🔥
@rudrecciah
@rudrecciah 4 часа назад
oh wait their site shows up earlier too 3:15 THATS OOMF 🔥🔥🔥🔥
@Ratstail91
@Ratstail91 2 часа назад
Minecraft isn't just slow because of Java, it's legitimately badly coded, IMO.
@algj
@algj 4 часа назад
Too early to be excited about
@siljrath
@siljrath 3 часа назад
Seriously? Not gonna mention Minetest? Catch up. Fully foss and fast since 2010. Vast add-on space. Many games hosted. I've never understood staying with minecraft since minetest.
@cnikolov
@cnikolov 2 часа назад
Same for me with WoW servers :D
@chinesesparrows
@chinesesparrows 4 часа назад
Really interesting wow
@senge1337
@senge1337 5 часов назад
@orionh5535
@orionh5535 4 часа назад
Do the devs have blue hair? Because they seem like senior rust devs.
@RustIsWinning
@RustIsWinning 2 часа назад
What??
@1tai_biton
@1tai_biton 5 часов назад
🎉
Далее
We Fell For The Oldest Lie On The Internet
13:08
Просмотров 2,3 млн
СОБАКА И ТРИ ТАБАЛАПКИ😱#shorts
00:24
These benchmarks look terrible for React...
15:43
Просмотров 44 тыс.
Spotify Bricked The Car Thing, So I Hacked Mine
21:20
Google Drive hates developers now
23:56
Просмотров 125 тыс.
Linux HATES Me - Daily Driver Challenge Pt.1
21:02
Просмотров 3,8 млн
The Most INSANE Gridfinity You Can Print
20:18
Просмотров 118 тыс.
this new Linux feature makes hacking IMPOSSIBLE
11:08
Просмотров 157 тыс.
Bruce has suddenly passed away.
22:45
Просмотров 331 тыс.
The Dead Grad Student Problem
1:10:18
Просмотров 340 тыс.
How do Graphics Cards Work?  Exploring GPU Architecture
28:30