O'Reilly logo

Design Patterns in Modern C++: Reusable Approaches for Object-Oriented Software Design by Dmitri Nesteruk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Dmitri Nesteruk 2018

Dmitri Nesteruk, Design Patterns in Modern C++, https://doi.org/10.1007/978-1-4842-3603-1_7

7. Bridge

Dmitri Nesteruk

(1)St. Petersburg, Russia

If you’ve been paying attention to the latest advances in C++ compilers (GCC, Clang, and MSVC, in particular), you might have noticed that compilation speeds are improving. In particular, compilers are getting more and more incremental, so that instead of rebuilding the entire translation unit, the compiler can actually only rebuild the definitions that have changed, and reuse the rest.

The reason I’m bringing up C++ compilation is because “one weird trick” (that phrase again!) has been consistently used by developers to try and optimize the speed of compilation in the past.

I am, of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required