Embracing Modern C++ Safely
Author: John Lakos (Author), Vittorio Romeo (Author), Rostislav Khlebnikov (Author), Alisdair Meredith (Author)
Publisher finelybook 出版社: Addison-Wesley Professional
Edition 版次: 1st
Publication Date 出版日期: 2021-12-23
Language 语言: English
Print Length 页数: 1376 pages
ISBN-10: 0137380356
ISBN-13: 9780137380350
Book Description
Maximize Reward and Minimize Risk with Modern C++
Embracing Modern C++ Safely shows you how to make effective use of the new and enhanced language features of modern C++ without falling victim to their potential pitfalls.
Based on their years of experience with large, mission-critical projects, four leading C++ authorities divide C++11/14 language features into three categories: Safe, Conditionally Safe, and Unsafe. Safe features offer compelling value, are easy to use productively, and are relatively difficult to misuse. Conditionally safe features offer significant value but come with risks that require significant expertise and familiarity before use. Unsafe features have an especially poor risk/reward ratio, are easy to misuse, and are beneficial in only the most specialized circumstances.
This book distills the C++ community’s years of experience applying C++11 and C++14 features and will help you make effective and safe design decisions that reflect real-world, economic engineering tradeoffs in large-scale, diverse software development environments. The authors use examples derived from real code bases to illustrate every finding objectively and to illuminate key issues. Each feature identifies the sound use cases, hidden pitfalls, and shortcomings of that language feature. After reading this book, you will
- Understand what each C++11/14 feature does and where it works best
- Recognize how to work around show-stopping pitfalls and annoying corner cases
- Know which features demand additional training, experience, and peer review
- Gain insights for preparing coding standards and style guides that suit your organization’s needs
- Be equipped to introduce modern C++ incrementally and judiciously into established code bases
Seasoned C++ developers, team leads, and technical managers who want to improve productivity, code quality, and maintainability will find the insights in this modular, meticulously organized reference indispensable.
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
About the Author
Vittorio Romeo is a senior software engineer at Bloomberg, building mission-critical C++ middleware and training colleagues on modern C++. He is also the creator of many open-source C++ libraries and games.
Dr. Rostislav Khlebnikov is a team lead and senior software engineer in Bloomberg’s BDE team, where he directs the development of high-performance C++ foundation software.
Alisdair Meredith is a senior software engineer in Bloomberg’s BDE team and a long-standing member of the C++ Standards Committee, where he was the Chair of its Library Working Group between 2010 and 2015.