Digital signal processing implementations have long been the domain of hand-crafted assembly and low-level C. Correctly applying C++ brings a higher level of abstraction, better code organization and greater maintainability without sacrificing performance. This session discusses some key C++ techniques that benefit DSP applications including easy fixed point math with MAC, matrix math, operator overloading, simple saturation math, object-based filter chains and more. The session will briefly touch on some of the most common C++ pitfalls that can significantly grow code size and runtime costs.
Matt gave this talk at Design West 2012 and Design East 2012.
Design West 2012 was March 26-29, 2012 in San Jose, CA USA. Design East 2012 was September 17-20, 2012 in Boston, MA USA.