Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Software Architecture with C++
  • Table Of Contents Toc
Software Architecture with C++

Software Architecture with C++ - Second Edition

By : Andrey Gavrilin, Adrian Ostrowski, Piotr Gaczkowski
5 (1)
close
close
Software Architecture with C++

Software Architecture with C++

5 (1)
By: Andrey Gavrilin, Adrian Ostrowski, Piotr Gaczkowski

Overview of this book

Designing scalable and maintainable software with C++ requires more than language expertise—it demands strong architectural thinking. This practical guide equips you with the skills to design and build robust, distributed systems using modern C++. Starting with fundamental architectural principles and design philosophies, the book walks you through practical approaches to designing and deploying reliable systems. This edition contains significant updates across the book, including new chapters on observability, package management, and C++ modules to address real-world software challenges. You will explore software decomposition strategies, design and system patterns, fault tolerance, API management, and testability—all applied with C++. Additionally, the book covers modern CI/CD pipelines, cloud-native design, microservices, and modular development, helping developers navigate today's fast-evolving software landscape. With updated examples and a renewed emphasis on maintainable and observable architectures, this edition equips C++ professionals to architect modern systems. By the end of this book, you will be able to design, build, test, and deploy well-architected solutions using modern C++ and proven architectural techniques. *Email sign-up and proof of purchase required
Table of Contents (27 chapters)
close
close
1
Concepts and Components of Software Architecture
5
The Design and Development of C++ Software
12
Architectural Quality Attributes
17
Cloud-Native Design Principles
26
Index

Chapter 5

  1. How can you ensure that each file of your code that’s open will be closed when no longer in use?
    • By using the RAII idiom—for instance, by using std::fstream (input/output file stream) classes, which automatically close files when they go out of scope.
  2. When should you use raw pointers (not encapsulated in smart pointers) in C++ code?
    • The use of smart pointers does not conflict with the use of raw pointers as long as the latter use objects rather than own them. Don’t allow multiple smart pointers to own the same resource. Raw pointers should be used in small blocks of code with limited scope, helper functions, and loops. This could also be either a third-party library or performance-critical code.
  3. What is a deduction guide?
    • A way of telling the compiler what parameters it should deduce for a template. They can be implicit or user-defined.
  4. When should...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Software Architecture with C++
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon