Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Wednesday, May 17 • 4:30pm - 5:15pm
Composite Arithmetic Types Are > the + of Their Parts

Log in to save this to your schedule 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.

Speakers
avatar for John McFarlane

John McFarlane

SDE, A9.com
John McFarlane has used C++ for twenty years, specializing in simulation, AI and interactivity. He is a contributor to Study Groups 6 and 14 and is involved in standardizing fixed-point arithmetic.


Wednesday May 17, 2017 4:30pm - 5:15pm
Hudson Commons

Attendees (24)