Real-time Safety in C & C++ - Guaranteed by the Compiler! - Anders Schau Knatten - ACCU on Sea 2026
ACCU Conference и cpponsea
0:00 / 0:00
Real-time Safety in C & C++ - Guaranteed by the Compiler! - Anders Schau Knatten - ACCU on Sea 2026
5 689 просмотров · 4 нед. назад
ACCU Conference и cpponsea
5 689 просмотров · 4 нед. назад
ACCU Membership: https://tinyurl.com/ydnfkcyn
---
Real-time Safety in C & C++ - Guaranteed by the Compiler! - Anders Schau Knatten - ACCU on Sea 2026
---
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.
Slides: https://github.com/Digital-Medium/ACC...
---
Anders Schau Knatten
Anders started programming in Turbo Pascal in 1995, and has been programming professionally in various languages since 2001, with a main focus on C++. He's currently a senior software engineer at Squarehead, working on acoustic drone detection systems. He's also the author of the book C++ Brain Teasers, CppQuiz.org and the blog C++ on a Friday.
Video Sponsored By JetBrains, Bloomberg Engineering & HRT
---
The ACCU Conference is the annual conference of the ACCU membership, but is open to any and all who wish to attend. The tagline for the ACCU is 'Professionalism in Programming', which captures the whole spectrum of programming languages, tools, techniques and processes involved in advancing our craft. While there remains a core of C and C++ - with many members participating in respective ISO standards bodies - the conference, like the organisation, embraces other language ecosystems and you should expect to see sessions on C#, D, F#, Go, Javascript, Haskell, Java, Kotlin, Lisp, Python, Ruby, Rust, Swift and more.The ACCU Conference is a conference by programmers for programmers about programming.
Discounted rates for members.
ACCU Membership: https://tinyurl.com/ydnfkcyn
2026 Program: https://accuonsea.uk/2026/schedule/in...
https://accu.org
https://www.accuconference.org/
https://mastodon.social/@ACCUConf
/ accu-conference
https://bsky.app/profile/accuconf.bsk...
/ accuorg
/ accuconf
---
YouTube Videos Filmed, Edited & Optimised by Digital Medium: https://events.digital-medium.co.uk
#cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk