Deterministic multithreading is hard (2024)
factorio.com
Deterministic multithreading is hard (2024)
1–10 of 14 posts
Re: Deterministic multithreading is hard (2024)
#2after HN, it's one of my favourite places on the internet because i constantly learn new, random, insane things almost every time. imho it teaches you how to think + shows you what great engineering taste looks like. sorry if i'm overly effusive but each post is so deeply technical and well-written that i can't believe it's free.
you don't need to know anything about factorio or gamedev btw (i don't), just pick a random number between 1 to 438 and start reading :)
Re: Deterministic multithreading is hard (2024)
#3Re: Deterministic multithreading is hard (2024)
#4My favorite paper on it doing a clever workaround: https://github.com/emeryberger/dthreads
> DTHREADS works by exploding multithreaded applications into multiple processes, with private, copy-on-write mappings to shared memory... Experimental results show that DTHREADS substantially outperforms a state-of-the-art deterministic runtime system, and for a majority of the benchmarks evaluated here, matches and occasionally exceeds the performance of pthreads.
Re: Deterministic multithreading is hard (2024)
#5if you haven't read the factorio devblog before, please do! after HN, it's one of my favourite places on the internet because i constantly learn new, random, insane things almost every time. imho it teaches you how to think + shows you what great engineering taste looks like. sorry if i'm overly effusive but each post is so deeply technical and well-written that i can't believe it's free. you don't need to know anyth…
Concurrency is hard. Blizzard added progressively more and more concurrency over time to rescue orphaned resources assigned to a single shard that was undersubscribed while another shard in the same AZ was seeing flash mobs. But the way they documented it was more of a tea leaves situation. Only enough data to guess what they had done if you were familiar with the space.
Re: Deterministic multithreading is hard (2024)
#6My favorite paper on it doing a clever workaround: https://github.com/emeryberger/dthreads
It’s a shame. The real world of development would be significantly richer if these ideas had better funding and dedicated long term development.
Re: Deterministic multithreading is hard (2024)
#7if you haven't read the factorio devblog before, please do! after HN, it's one of my favourite places on the internet because i constantly learn new, random, insane things almost every time. imho it teaches you how to think + shows you what great engineering taste looks like. sorry if i'm overly effusive but each post is so deeply technical and well-written that i can't believe it's free. you don't need to know anyth…
Re: Deterministic multithreading is hard (2024)
#8Re: Deterministic multithreading is hard (2024)
#9Re: Deterministic multithreading is hard (2024)
#10My favorite paper on it doing a clever workaround: https://github.com/emeryberger/dthreads