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++ 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.


![There is no silver bullet - Klaus Iglberger - Meeting C++ 2024
There is no silver bullet - Klaus Iglberger - Meeting C++ 2024
Slides: https://slides.meetingcpp.com
Survey: https://survey.meetingcpp.com
Most developers love simplifications — they love the idea of that one tool that solves all of their problems. We have seen that in the late 90s and early 2000s, when object-oriented programming (OOP) was promoted as the one solution to all software problems. Today, however, the tide seems to have turned and functional programming (FP) is on the rise. OOP, on the other hand, seems to be considered an obsolescent paradigm:
“Inheritance is the Base Class of Evil” (Sean Parent, 2013)
“OOP is dead” (Stoyan Nicolov, 2018)
“[Object-oriented programming] is not what the cool kids are doing in C++.” (Jon Kalb, 2019)
“Eliminating Virtual Functions” (Jonathan Gopel, 2022)
”I believe that object-oriented programming and especially its theory is overestimated. … C++ always had templates, and now also has std::variant, which makes most of the use of inheritance unnecessary.” (Unknown Reviewer, 2023)
std::variant is indeed a fantastic solution: it’s functional, it’s simple, it’s value-based, and — perhaps most importantly — it’s fast. So it feels and sounds like a great replacement of virtual functions and object-oriented programming.
Unfortunately it is not. There is no silver bullet. There simply isn’t this one solution that works everywhere and every time. Truth is that neither OOP nor FP can solve all problems — we need both of them.
In this talk I’ll shed light on this antagonistic competition between OOP and FP. I’ll compare them by means of a practical example and show that both have their architectural strengths, but also weaknesses — along with many similarities.
I’ll also demonstrate that OOP has evolved: today, we prefer the value-based type erased style to the classic GoF style. From an architectural point of view, the object-oriented Type Erasure is the antipode to the functional std::variant and I’ll show that only a wise combination leads to successful architectures. There is no silver bullet - Klaus Iglberger - Meeting C++ 2024](https://i.ytimg.com/vi/5F3d3LocM3k/mqdefault.jpg)







