Multithreading the Entire Destiny Engine
Channel:GDC Festival of Gaming · Length:59:34 · Published:2017-01-22 · Views:65446
Summary
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.
Why HN recommends it
HN points to it as a real-world example of game engine multithreading and of safety annotations in C.
explaining how Bungie turned almost every part of Destiny's engine into a job graph that can be processed in parallel — HN, 2019
Software performance & optimization · Game programming & engines
Subtitles (excerpt)
So, thank you for coming. Uh, my name is Barry Goenova. I'm the platform technical lead at Bungie. I'm going to talk about multi-threading the Destiny engine. To start off, um, this talk is not about multi-threaded primitives. We're not going to be talking about atomics. We're not going to be talking about semaphors. It's more about the engine structure and strategies to increase parallelization in the engine. And we're also going to describe our our system to help program in multi-threaded ways to prove that it's safe. So this section's a brief overview and I'm going to talk a little bit about multi-threading. I'm going to follow it up with how we did multi-threading in Destiny, what our our philosophies are, and then how we ended up mapping that to the hardware for the different platforms that we shipped. I'm going to talk a little bit about how we proved that our code codebase was thread safe and then how we deployed that into our engine and then the lessons learned from that. Finally, I'll just wrap that up. So, Destiny is a shared world shooter. Uh we want to provide low latency action that's a fast-paced game. It's basically the start of a new generation for us. Uh we're suns setting Halo.
On Hacker News
Here’s a good talk on a system used for the PS4 - [LINK] And another one on multithreading a cross platform game - [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. — maccard, 2017-10
> 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, pe… — jesse__, 2022-12
"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. [VIDEO] — cpeterso, 2019-01
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] * Multi… — cpeterso, 2017-04
Related videos
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- CppCon 2015: Andrei Alexandrescu “std::allocator...” · CppCon · 1:12:27
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Preventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc) · DevGAMM · 1:02:41
- "Performance Matters" by Emery Berger · Strange Loop Conference · 42:15
- The Thirty Million Line Problem · Molly Rocket · 1:48:55
- CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step” · CppCon · 59:33
- RustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine West · Rust Programming Language · 42:29
- Erlang Factory 2014 - That's 'Billion' with a 'B': Scaling to the Next Level at WhatsApp · Erlang Solutions · 49:15
- A Deep Dive into Nanite Virtualized Geometry · SIGGRAPH Advances in Real-Time Rendering · 1:09:59
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37
- Jonathan Blow - How to program independent games - CSUA Speech · Alexandre Franco · 1:15:50
- "How NOT to Measure Latency" by Gil Tene · Strange Loop Conference · 42:59
- Ideas about a new programming language for games. · Jonathan Blow · 1:55:24
- Refterm Lecture Part 1 - Philosophies of Optimization · Molly Rocket · 18:41
- CppCon 2014: Mike Acton "Data-Oriented Design and C++" · CppCon · 1:27:46