CppCon 2019 has ended
Back To Schedule
Thursday, September 19 • 15:15 - 15:45
Infiltrating a Code Base: Moving Toward a Better C

Log in to save this to your schedule, view media, leave feedback and see who's attending!

“If you’re arguing, you’re losing”, or so said Dan Saks when discussing migrating legacy C codebases to C++. Many of the arguments that you hear against using C++ deal with the level of abstraction provided by objects and the STL (or templates, in general). However, there are many standard practices in C codebases that can benefit from some C++ tactics without having to introduce any of those features of the language. In this talk, we will look at some history of C to understand the viewpoint of C programmers. Then we will see methods to both improve both the reliability and maintainability of the codebase, while not alienating the existing developers. Along with these techniques, we will use compiler output that can be used to prove that we aren’t introducing any new overhead. Armed with these tools, we can move this legacy code and your team forward in preparation for the day where the file is renamed from C to CPP.

avatar for Brian Ruth

Brian Ruth

Senior Software Engineer, Garmin, Ltd
Brian has been programming in C++ for 20+ years; working for both small and large companies on a wide variety of projects and technologies. For over a decade he worked with neuroscience researchers and created high speed acquisition, analysis and visualization software. He is currently... Read More →

Thursday September 19, 2019 15:15 - 15:45
Crest 3

Attendees (93)