Lightweight Operator Fusion Using Data-Centric Function Interfaces in C++ - Manya Bansal - CppCon @CppCon
Lightweight Operator Fusion Using Data-Centric Function Interfaces in C++ - Manya Bansal - CppCon  @CppCon
Uploaded March 2025 | Updated September 2026, 2 weeks ago
cppcon.org
---

Lightweight Operator Fusion Using Data-Centric Function Interfaces in C++ - Manya Bansal - CppCon 2024
---

Functions are the fundamental unit of interoperability in software design: users write applications by composing functions provided by various libraries. However, naive function composition can result in poor performance due to memory overheads that exist at function boundaries. Operator fusion --- combining the execution of several operators into one operator --- is a well-known technique to combat this overhead. Previous solutions to add fusion rely on complex, monolithic compilers and languages that force performance engineers to rediscover old solutions in new ecosystems, leading to decades of performance engineering work going underutilized. In this work, I attempt to identify the minimal ingredients required to enable fusion on top of existing library interfaces. In doing so, I propose a lightweight enrichment of function interfaces that exposes data production and consumption patterns of functions. I show how to implement these ideas in C++ and demonstrate the benefits of my system by showing that it is competitive with state-of-the-art high-performance libraries, and that it can fuse across library boundaries for unforeseen workloads.
---

Slides: github.com/CppCon/CppCon2024/blob/main/Presentations/Data_is_All_you_Need_For_Fusion.pdf

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Manya Bansal

Manya is a first-year computer science PhD student at MIT. She is interested in designing extensible and productive languages and tools for heterogeneous systems.
---

CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: events.digital-medium.co.uk
---

#functions #cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #programming #programmer
Lightweight Operator Fusion Using Data-Centric Function Interfaces in C++ - Manya Bansal - CppConTo Int or to Uint, This is the Question - Alex Dathskovsky - CppCon 2024Lightning Talk: Back When ChatGpt Was Young And Stupid - Andrei Zissu - CppCon 2025Deciphering C++ Coroutines Part 2 - Mastering Asynchronous Control Flow - Andreas Weis - CppCon 2024Lightning Talk: From Macro to Micro in C++ - Conor Spilsbury - CppCon 2024A Pragmatic Approach to C++: Designing, Organizing and Writing Maintainable Code - Oleg RabaevLightning Talk: How Fast Isn’t You Constexpr? - Hossein GhahramanzadehAnigh - CppCon 2025Lightning Talk: Proof Searching in DepC - Raffaele Rossi - CppCon 2025Why 99% of C++ Microbenchmarks Lie – and How to Write the 1% that Matter! - Kris JusiakBack to Basics: Move Semantics - Ben Saks - CppCon 2025Lightning Talk: Trust Nothing, Complain About Something, Want Everything - Jonathan Stein - CppConWhy Every C++ Game Developer Should Learn SDL 3 Now - Mike Shah - CppCon 2025
CppCon |

Lightweight Operator Fusion Using Data-Centric Function Interfaces in C++ - Manya Bansal - CppCon

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER