Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Explore a comprehensive conference talk from CppCon 2022 on C++ Function Multiversioning in Windows, presented by Joe Bialek and Pranav Kant. Delve into the challenges of writing efficient code for diverse machine types and learn about a feature that combines compiler and OS facilities to enable no-overhead selection of optimal function implementations. Discover how this approach allows for extremely fine-grained function specialization based on CPU architecture, model, and supported features without the overhead of indirect calls or jump tables. Follow the speakers as they walk through the feature's implementation in Visual C++ and Windows 11, comparing it to existing solutions like gcc function multiversioning. Gain insights into the implementation details that compilers and operating systems must consider, and witness a live demonstration of the feature in action.
C++ Function Multiversioning in Windows - Load-time Implementation Selection - Lecture