Multithreading the Entire Destiny Engine
Why Hacker News recommends it
HN points to it as a real-world example of game engine multithreading and of safety annotations in C.
What it is
A 2015 GDC talk by Bungie's Barry Genova on how Destiny's engine was restructured into a job graph with limited thread pre-emption. It is aimed at programmers of demanding game engines.
Recommended by 1 HN commenters across 1 different months, 2017 to 2022.
What Hacker News said
Recommends maccard · 2017-10 · on “How Unreal Renders a Frame”
Here’s a good talk on a system used for the PS4 - [LINK] And another one on multithreading a cross platform game - [this video] There’s also this talk - [LINK] which talks about collision detection and collision resolution on the GPU that actually explains the architecture of the cpu engine quite well and shows what parts are serial and what parts are well parallelised.
Cites cpeterso · 2017-04 · on “Ask HN: Will Rust ever become a mainstream systems programming language?”
Are there any AAA game studios using or evaluating Rust yet? I saw some GDC talks about the multithreaded game engine for Bungie's Destiny game. Given the debugging and QA challenges of their multithreaded architecture, something like Rust's ownership model seems like a good fit. Does the Rust toolchain support Xbox and PlayStation? * Destiny's Multithreaded Rendering Architecture: [LINK] * Multithreading the Entire Destiny Engine: [this video]
Cites cpeterso · 2019-01 · on “Game Loop”
"Multithreading the Entire Destiny Engine" is a 2015 GDC talk by Bungie's Barry Genova explaining how Bungie turned almost every part of Destiny's engine into a job graph that can be processed in parallel. [this video]
Cites jesse__ · 2022-12 · on “In what programming language would you write new OS?”
> But, what would be your design criteria for the new language? I'd aim for somewhere between Rust and <other_imperitive_languages>. I'm certainly not qualified to speak with any authority on the matter of provably correct programs, but it seems to me there's a middle ground there that has yet to get a lot of attention. Something like C, but with markup describing data lifetimes, value ranges, permissible access, etc. The guys at Bungie did something similar for Destiny: [this video] There are also some PHd folks working on adding type annotations to C and restricting aliasing rules. Those annotations/rules get fed through a solver that proves it's free of latent memory bugs. As far as I remember