This event has ended. Visit the official site or create your own event on Sched.
View analytic
Tuesday, September 26 • 4:45pm - 5:45pm
CNL: A Compositional Numeric Library

Log in to save this to your schedule and see who's attending!

Feedback form is now closed.
CNL is a numerics library born out of efforts to standardize fixed-point arithmetic.
It provides number types which increase precision, enforce correctness and maintain efficiency.
And by designing these types with composability in mind, the library aims to do for integers what the STL does for pointers.

This introductory talk will show potential users how they can benefit from using CNL in a wide variety of applications. Firstly, the individual components will be illustrated using straightforward examples. Then we'll see how these components slot together to produce powerful new types. Finally I'll detail the steps necessary to adapt existing types to work within the CNL framework.

Along the way, I hope to share some of the insights I've gained while learning about literal types including: why you shouldn't mess with `int` if you want zero-cost abstractions; how C++ is getting better at supporting new number types and my hopes for the forthcoming Numeric TS.

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.

Tuesday September 26, 2017 4:45pm - 5:45pm
Manchester (407) Meydenbauer Center