Chris Apple
Lead Audio Software Engineer
About Me
Chris Apple is a seasoned software engineer and team lead with nearly a decade of experience in the audio industry -- spanning everything from test automation in python, to loudspeaker installation in Tokyo nightclubs. Using his expertise in real-time audio rendering, he has made contributions to companies such as Dolby, Roblox, and Spatial Inc, as well as many open source projects. Recently, he has focused primarily on real-time safety and rendering performance in audio playback systems written in C++. This focus has led to his work on RealtimeSanitizer. This new sanitizer in the LLVM ecosystem provides runtime checks to ensure time-unbound operations cannot be called from real-time contexts.
Sessions
-
LLVM’s Real-Time Safety Revolution
RealtimeSanitizer and Performance Constraints Attributes11:20 - 12:10 UTC | Wednesday 13th November 2024 | Bristol 2BeginnerIntermediateAdvanced"Error: RealtimeSanitizer: call to malloc detected during execution of nonblocking function MyAudioCallback::process!" "Warning (-Wfunction-effects): nonblocking function `MyAudioCallback::process` must not call blocking function `SketchyCall`" Real-time programmers working on mission-critical audio, autonomous vehicle, and aerospace code are well-acquainted with the golden rule: “Thou shalt not call time-unbounded operations in your real-time thread.” Despite its importance, tools to enforce this rule have been non-existent—until now! At ADC 2023, we presented RealtimeSanitizer; and now it's coming to mainline Clang. In the latest version of LLVM, RealtimeSanitizer (now RTSan) forms one of two new features that help uphold real-time guarantees by detecting calls to malloc, […]