LOADING: An error occurred. Update Chrome, try Firefox, or visit this post for more details.

⚠️Reddit changed how removals work, which breaks Reveddit's website. Install the extension to track removed content:Add to chromeAdd to firefoxWhat changed?
✖︎
about reveddit
⚙F.A.Q.add-ons
r/
status
copy sharelink
[+] show filters
14.3k
Thumbnail
MememojangDiscoversMultithreading(i.redd.it)
submitted 2 months, 1 week ago by Rajayonin:py::cp: to /r/ProgrammerHumor (4.7m)
718 commentsredditother-discussions (2+)subreddit-indexmessage modsop-focus domain-index
2 months ago
—
2 months, 1 week ago
7 of 7

Tip Reveddit Real-Time can notify you when your content is removed.

your account history
(check your username's removed content. why?)
Tip Check if your account has any removed comments.
view my removed comments
you are viewing a single comment's thread.
view all comments
[–]Plazmaz1:c:2 points2 months, 1 week ago* (edited 3 minutes after)

No. Minecraft is not the biggest system that needs to deal with complicated concurrency problems. This is like one of the most common headaches in any high performance system and there's a dozen different tools to work around concurrency. Just randomly: locks/mutexes, event bus patterns (which Minecraft already uses), messaging channels, promises/callbacks (also already used in Minecraft), etc. This type of problem plagues high concurrency systems (databases, distributed systems, gpus, etc) basically everywhere. It's not unique to Minecraft in any way really.
I'd imagine the biggest is either some really ancient financial processing backend, an operating system, or a crazy distributed computing platform.

Hell, running a deterministic system like Redstone asynchronously for performance is LITERALLY what threads are designed to do. It's just a finite state machine running in a scripting language of blocks

permalinkparentcontexthide replies (2)author-focusas-ofpreserve
[–][deleted]1 point2 months ago
[deleted] by user
(check your username's removed content. why?)
parenthide replies (1)as-of
[–]Plazmaz1:c:1 point2 months ago

lol i'm not suggesting parallelizing redstone, just move it to a different single thread. parallelize the expensive task of computing redstone and the expensive task of running main thread updates.

permalinkparentcontexthide replies (1)author-focusas-ofpreserve
[–][deleted]1 point2 months ago
[deleted] by user
(check your username's removed content. why?)
parenthide replies (1)as-of
[–]Plazmaz1:c:1 point2 months ago

It is both running in a parallel thread and not running synchronously within the main thread.

permalinkparentcontextauthor-focusas-ofpreserve
[–]Hot-Charge198-3 points2 months, 1 week ago

No, but mc is one of the biggest. And most games or apps arent as complex. And rendering is way more different and niche than db manipulation

permalinkparentcontexthide replies (1)author-focusas-ofpreserve
[–]Plazmaz1:c:5 points2 months, 1 week ago

It's nowhere near as big or as pervasive as a lot of these systems, and many of them are dramatically more complicated and niche. Minecraft is complicated but some enterprise codebases have like 30 years of a hundred people writing code to them. An easy example is like android or the Linux source code. Both are orders of magnitude more complicated and bigger than Minecraft. They both also do dramatically more complicated and layered things with graphics and rendering loops. Minecraft is tiny compared to these systems. I bet Android's rendering subsystems alone are 10x more complicated than all of Minecraft.

permalinkparentcontextauthor-focusas-ofpreserve
r/revedditremoved.substack.com
🚨 NEWS 🚨
✖︎

Important: Reddit Changed How Removals Work

A recent Reddit update makes mod-removed content disappear from profile pages, which breaks Reveddit's website.

Install the browser extension to receive removal alerts.

Add to chromeAdd to firefox

What changed?

r/revedditremoved.substack.com