Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Cross-Platform Floating-Point Determinism Out of the Box - Sherry Ignatchenko - CppCon 2024
43Likes
2,315Views
Feb 252025
https://cppcon.org​ --- Cross-Platform Floating-Point Determinism Out of the Box - Sherry Ignatchenko - CppCon 2024 --- For multiplayer games, deterministic simulations have been a Holy Grail for a long while. Indeed, if we have perfectly deterministic simulations - we can simply pass all the inputs to all the clients, and rely on each client to produce the same results, reducing network traffic by orders of magnitude. While especially important for RTS games, all kinds of multiplayer games would benefit from it. However, while determinism was achieved in practice for single-platform, it is known to be a next-to-impossible to achieve for cross-platform clients. We will discuss the (well-known) reasons for it first - and will proceed into discussing our approach to the solution (with our open-source lib actually providing some implementations). This talk is important for multiplayer gamedevs - and for anybody who is interested in deterministic calculations. --- Slides: https://github.com/CppCon/CppCon2024/... Sponsored by JetBrains: https://www.jetbrains.com/clion/ --- Sherry Ignatchenko Sherry (née Sergey) Ignatchenko has started her IT career with a soldering iron and i8080 asm. Now she has 20+ years of experience as a software architect, co-architecting a G20 stock exchange and solely architecting a game with 500K simultaneous players along the way. She is an author and co-author of 100+ patents, of 50+ articles (CUJ, C++ Report, Overload, (In)Secure Magazine, Software: Practice and Experience), and of “Development and Deployment of Multiplayer Games” book. She already spoke at CPPCON and ACCU. --- CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts. Annual CppCon Conference - https://www.cppcon.org   / cppcon   https://x.com/cppcon   / cppconference     / cppcon   https://mastodon.social/@CppCon --- Videos Filmed & Edited by Bash Films: http://www.BashFilms.com YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk --- #gamedev #gamedevelopment #gamedeveloper #cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #programming #programmer

Follow along using the transcript.

CppCon

165K subscribers
CppCon 2024
by CppCon