Explore the intricacies of C++23's std::mdspan in this CppCon 2023 conference talk. Delve into best practices for using mdspan and uncover subtle nuances to be aware of when implementing this view over multi-dimensional arrays. Compare generated assembly of basic matrix and image operations using mdspan to low-level implementations similar to BLAS, evaluating its potential as a zero-overhead abstraction. Examine how mdspan design decisions and ABI limitations impact performance. Gain insights from Oleksandr Bacherikov, a Software Engineer at Snap Inc with extensive experience in Competitive Programming, as he discusses effective, concise, and generic algorithm implementation techniques.
Overview
Syllabus
Is C++23 std::mdspan a Zero-overhead Abstraction? - Oleksandr Bacherikov - CppCon 2023
Taught by
CppCon