Online Workshops + Training Sessions Available through April-June 2026 from only £150 ($200)
14 Sessions Available on a range of topics. Student Rates available from only £45/$60! US and EU friendly session times.
https://cpponline.uk/
---
MayaFlux: Real-Time Audio-Graphics Coordination in C++20 (Coroutines, Lock-Free) - Ranjith Hegde - C++Online 2026
Real-time systems rarely fit a single execution model. Audio runs in hardware callbacks. Graphics render on fixed frame rates. Input arrives asynchronously. User code needs flexible timing. When these contexts must coordinate without blocking, traditional approaches fail.
This talk explores emerging frameworks when you treat rate-mismatched independent execution contexts as fundamentally separate, then coordinate them through lock-free patterns, C++20 coroutines, and compile-time/concept-based data abstraction.
The result: a single computation can exist simultaneously at audio-rate precision, graphics-frame updates, input-driven events, and user-defined timing without domain-specific rewrites or real-time correctness compromises.
We'll examine:
Why independent threads matter: RtAudio callbacks, Vulkan render threads, async input backends each have non-negotiable constraints
Lock-free coordination as foundation: atomic_ref, CAS-based dispatch, zero-mutex registration across thread boundaries
Coroutines as the weaving layer: Temporal intent survives thread transitions without central scheduler overhead
Compile-time data unification: Concepts + data views eliminate context-boundary data copies that destroy performance
What this enables: Infrastructure that generalizes to game engines, robotics, graphics systems, or any real-time C++ system with mismatched execution models
This is not about any single technique in isolation, but what their combination enables when designed as fundamentals rather than afterthoughts.
Slides: https://mayaflux.github.io/MayaFlux-c...
---
Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf
---
Ranjith Hegde
Ranjith is a computational artist and C++ systems engineer with over 15 years of interdisciplinary work spanning traditional music (violin), digital audio, spatial graphics, live coding, and real-time systems. His background includes production audio programming (Unreal Engine 5, Metro: Awakening VR), experimental performance and composition, and teaching computational creativity and curriculum development at the Srishti Institute of Art, Design, and Technology.
He is currently developing MayaFlux, an open-source C++20/23 multimedia framework that treats audio, visual, and control data as unified numerical streams. His work focuses on real-time infrastructure where lock-free concurrency, coroutines, and compile-time metaprogramming are architectural necessities rather than performance optimizations, bridging systems programming and creative computation.
---
C++Online is the annual, online only conference for the entire C++ community. The conference is designed to provide a more accessible option for C++ developers who might find attending other international C++ conferences more difficult or financially restrictive, at a time of year where we traditionally see less in-person cpp conferences due to weather, holidays and other restrictions.
The Online C++ Conference - https://cpponline.uk
/ cpponline
https://x.com/cpponline
https://www.facebook.com/profile.php?...
/ cpponline
https://mastodon.social/@cpponline
https://bsky.app/profile/cpponline.bs...
---
Streamed & Edited by Digital Medium Ltd - online.digital-medium.co.uk
---
C++Online - The Online C++ Conference organized by Shaved Yaks: https://shavedyaks.com/ & Digital Medium: https://events.digital-medium.co.uk
---
#cpp #cplusplus #cpponline #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer