Real-time Safety — Guaranteed by the Compiler! - Anders Schau Knatten   Meeting C++ 2025 @MeetingCPP
Real-time Safety — Guaranteed by the Compiler! - Anders Schau Knatten   Meeting C++ 2025  @MeetingCPP
Uploaded February 2026 | Updated November 2026, 2 days ago
Real-time Safety — Guaranteed by the Compiler! - Anders Schau Knatten Meeting C++ 2025
Slides: slides.meetingcpp.com

Clang 20 introduced Function Effect Analysis (FEA), which enables real-time safety guarantees at compile-time. Mark your functions as non-throwing, non-allocating, or non-blocking — and have the compiler enforce it! For instance, a function marked non-allocating is not allowed to call malloc or new, and can only call other functions if they are also marked non-allocating (or if the compiler can deduce that they won't allocate).

In this talk, we will demonstrate function effect analysis and explain how it works. We will also see why it can be hard to enable FEA in the presence of third-party libraries, and what can be done about it.

At Squarehead, we've used FEA almost since its official release to refactor our soft real-time pipeline towards harder real-time. We will present our experience and lessons learned from this process, and the talk will be packed with useful real-life tips, tricks, and practices to set you up for success.

We will also demonstrate the brand-new RealtimeSanitizer, the run-time companion to FEA.

After this talk, you'll know how and why to use Function Effect Analysis and RealtimeSanitizer and be aware of real-life tips, tricks, and practices for using them in your own projects.
Real-time Safety — Guaranteed by the Compiler! - Anders Schau Knatten   Meeting C++ 2025Top C++ Skills from Candidates and the Meeting C++ SurveyThe Demoprogram of Mastering C++ Game Animation ProgrammingThere is no silver bullet - Klaus Iglberger - Meeting C++ 2024Unlocking the value of C++20 - Alex Dathskovsky - Meeting C++ 2025Applied modern C++: efficient expression evaluator with type erasure - Olivia Quinet - Meeting C++25C++ in Embedded Systems - Interview with Author Amar MahmutbegovićPipeline architectures in C++ - Boguslaw Cyganek - Meeting C++ 2024C++23 tools you would actually use - Alex Dathskovsky - Meeting C++ 2025Is C++ safety a skill issue or a language problemContracts in C++26 - Why the DIS ballot failedVienna Game Geometry Library: a collision detection library for games - Fabian Haßlacher
Meeting Cpp |

Real-time Safety — Guaranteed by the Compiler! - Anders Schau Knatten Meeting C++ 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER