Skip to content

San Francisco: Arithmetic Types Are > Than The + Of Their Parts

Photo of Armin Pelkmann
Hosted By
Armin P. and Arthur O.
San Francisco: Arithmetic Types Are > Than The + Of Their Parts

Details

Notice the changed date! This meetup will be on a Thursday evening, not the usual date.

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 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.

Notice the changed date! This meetup will be on a Thursday evening, not the usual date.

Photo of Cpp Bay Area: C++ Programming In and Around Silicon Valley group
Cpp Bay Area: C++ Programming In and Around Silicon Valley
See more events