Advances in fields such as heterogeneous computing and information security are testing C++'s arithmetic types to their limits. Fortunately, modern language features make it easier to upgrade the humble integer and prepare it for the challenges ahead.
This talk will explore what needs to be done to improve numeric types and how to go about it. I will demonstrate how I apply the compositional approach to the problem of building custom numeric types and how it produces a variety of low-cost abstractions to suit every need.
Using my fixed-point library as the jumping-off point, I will illustrate how modern language features such as type deduction, compile-time evaluation and user-defined literals can make arithmetic types that are faster, safer and easy to use.
John McFarlane is co-chair of SG14 and writes numeric types for fun. His expertise is in games development and automotive and he currently works at the rapidly expanding Jaguar Land Rover center for software excellence in idyllic Co Clare, Ireland with his beautiful wife and horrible... Read More →
Wednesday May 17, 2017 4:30pm - 5:15pm MDT
Hudson Commons