Silicon Valley Code Camp : October 7 & 8, 2017

John McFarlane
About John
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.
{speaker.firstName} {speaker.lastName}

Speaking Sessions

  • Better Numeric Types in C++

    4:00 PM Saturday   Room: Rendezvous
    It’s pretty hard to find a language which can crunch numbers as fast as C++. But much of its reputation for being an unsafe language comes from its numeric types. Is it possible to make numbers easier to use without slowing down your program? This talk looks at how to use custom arithmetic types to avoid errors such as overflow and truncation without paying more than you need to. I’ll cover many of the gotchas associated with integers and how to avoid them through good practices and a numerics library that I’m developing called CNL.