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

Log in to save this to your schedule, view media, leave feedback 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

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 →

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