C++Now 2017 has ended
Back To Schedule
Wednesday, May 17 • 4:30pm - 5:15pm
Composite Arithmetic Types Are > the + of Their Parts

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Slides: https://github.com/boostcon/cppnow_presentations_2017/blob/master/05-17-2017_wednesday/composite_arithmetic_types_are_greater_than_the_sum_of_their_parts__john_mcfarlane__cppnow_05-17-2017.pdf
Video: https://www.youtube.com/watch?v=1xSyUoYgSR4

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.

avatar for John McFarlane

John McFarlane

Senior Software Engineer, Jaguar Land Rover
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