Dennis Gustafsson – Parallelizing the physics solver – BSC 2025
Channel:Better Software Conference · Length:1:07:08 · Published:2025-07-18 · Views:78098
Summary
Dennis Gustafsson, creator of Teardown, presents how he parallelized the physics solver for an upcoming game, followed by a Q&A. The talk was given at the Better Software Conference 2025.
Why HN recommends it
HN points to it as a practical example of solving a tricky multithreading problem, including using a spinlock to speed up a real-time physics solver.
The following is an interesting talk where the author used a spinlock to speed up a real-time physics solver significantly. — HN, 2026
Software performance & optimization · Game programming & engines
Subtitles (excerpt)
All right, welcome back everyone and uh thank you Casey for the previous talk. Amazing detail and amazing amount of research you must have done on that. This talk is hopefully going to be a little bit shorter so we get lunch. Um so Sam reached out to me a couple of weeks ago and asked if I wanted to present something and I came to think about this work I did about half a year ago on optimizing and parallelizing the constraint solver for our upcoming game. And as it turned out, uh, this talk isn't going to be that much about the constraint solver or how to paralyze it. It actually is going to be more about the low latency thread pools and job system that I had to write to make it all run efficiently on modern hardware. So, but I hope you you'll enjoy it. Anyway, you're going to see some physics movies at least. Uh, so just some background on me. I'm Dennis Gustafson and I am the original creator of the game Tearown, which is a Voxil uh sandbox heist game that came out in 2020. I was also the only programmer on the project up until the initial release and now we're a bit more. Um it it features a um custom u software rate tracing voxal rate tracing engine which is pretty special and also a a
On Hacker News
Not about multiplayer but still interesting. Dennis Gustafsson – Parallelizing the physics solver – BSC 2025 [VIDEO] — Hikikomori, 2026-03
As always: use standard libraries, profile, then write your own if the data indicates it's necessary. The following is an interesting talk where the author used a spinlock to speed up a real-time physics solver significantly. Dennis Gustafsson – Parallelizing the physics solver – BSC 2025 [VIDEO] — fasterik, 2026-01
From my understanding this talk describes how he implemented a solution for a similar problem [VIDEO] I'm saying if you're not writing multi-threaded code everyday, use a library. It can use atomics/locks but you shouldn't use it directly. If the library is designed well it'd be impossible to deadlock. — levodelellis, 2025-11
Related videos
- The Kennedy Assassination: Inside the Book Depository · LEMMiNO · 1:38:11
- DARK GOTHIC MAGA: How Tech Billionaires Plan to Destroy America · Blonde Politics | The Silly Serious · 29:52
- Refterm Lecture Part 1 - Philosophies of Optimization · Molly Rocket · 18:41
- I painted a Landscape with Mathematics · Inigo Quilez · 42:00
- 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