Taking Static Type-safety to the Next Level - Physical Units for Matrices
Offered By: CppNow via YouTube
Course Description
Overview
Explore an innovative solution for incorporating physical unit types into vector and matrix types in C++ linear algebra libraries in this conference talk from CppNow 2022. Learn how to leverage C++'s strong type system to provide physical unit annotations for individual matrix elements, enabling coordinate frame and quantity kind annotations. Discover the optimal methods for representing these annotations, their propagation through linear algebra operations, and how they determine valid operations for each type. Gain insights into efficient implementation techniques in C++, with a focus on the game-changing features of C++20. Understand how this approach leads to more expressive code with fewer errors by catching the majority of bugs at compile-time. Explore applications in robotics, computer graphics, automated driving, and other domains working with physical units, different coordinate frames, and matrix operations.
Syllabus
Taking Static Type-safety to the Next Level: Physical Units for Matrices - Daniel Withopf CppNow 22
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube