Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Zero-Overhead Abstractions - Building Vector Math Libraries with Concepts and Customization Points

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build flexible vector math libraries using C++20 Concepts and Customization Point Objects as alternatives to inheritance-based designs in this 56-minute conference talk from CppCon. Discover how to create mathematical abstractions that provide precise compile-time requirements with clear error messages and helpful diagnostics. Explore the implementation of a practical vector framework designed for high-performance scientific computing applications, including interpolation and iterative methods for linear and nonlinear systems. Master patterns that enable CPOs with intelligent fallbacks to parallel the familiar base-class/override structure of object-oriented programming while avoiding inheritance complications. Understand how static polymorphism and free functions deliver cleaner, more flexible solutions than traditional inheritance approaches, enabling seamless interoperability between diverse container types in the spirit of the STL. Gain insights from a decade of experience at Sandia National Laboratories addressing the challenges of OOP overuse, including complicated class hierarchies, parallelism compatibility issues, and testing difficulties, through the Real Vector Framework that demonstrates modern C++ practices for scientific computing while preserving critical performance requirements.

Syllabus

Zero-Overhead Abstractions: Building Vector Math Libraries with Concepts and Customization Points

Taught by

CppCon

Reviews

Start your review of Zero-Overhead Abstractions - Building Vector Math Libraries with Concepts and Customization Points

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.