Bjarne Stroustrup mines generic programming for a better C++

The creator of C++ sees concepts in generic programming as key to more efficient, reliable code

Become An Insider

Sign up now and get FREE access to hundreds of Insider articles, guides, reviews, interviews, blogs, and other premium content. Learn more.

Bjarne Stroustrup is on a mission to simplify generic programming.

In a recently published paper titled "Concepts: The Future of Generic Programming," Stroustrup makes the case for concepts as a foundation for generic programming. In concepts, Stroustrup sees the solution to the interface specification problem that has long dogged C++, the language he founded more than 35 years ago.

“The way we write generic code today is simply too different from the way we write other code,” Stroustrup says.

Stroustrup defines generic programming as programming focused on design and implementation of general algorithms, with algorithms capable of accepting a variety of types. Generic programming can also be used to write efficient libraries. Stroustrup hopes to see his ideas come to fruition in C++ in fewer than three years. Concepts, Stroustrup believes, will greatly ease engineers’ ability to write efficient, reliable C++ code.

To continue reading this article register now

NEW! Download the Fall 2018 digital issue of CIO