0%

Book Description

Now that software development is shifting primarily toward mobile and cloud computing, the venerable C++ programming language is returning to the dominant position it held during the object-oriented boom of the 1990s. In this O’Reilly report, you’ll learn why C++ is once again the preferred choice across several diverse industries, after taking a backseat to Java during the 2000s.

C++ is a complicated beast that's not easy to learn. But when you need a powerful, highly portable systems programming language or an application programming language with uncompromising performance, it’s hard to beat. With the 2011 and 2014 updates, C++ feels like a completely new language, rather than the old C++ with new features bolted on.

Authors Jon Kalb and Gašper Ažman demonstrate how modern C++ (C++11 and C++14) provides the power, performance, libraries, and tools necessary for massive server farms as well as low-footprint mobile apps.

  • Delve into the modern C++ features that are generating new interest in the language
  • Learn why C++ is the only high-level language available on Apple, Android, and Microsoft mobile devices
  • Explore the C++ cloud computing appeal, including performance, high portability, and low-level hardware control
  • See what the future holds for C++ with proposed changes in the 2017 update

Table of Contents

  1. Preface
  2. 1. The Nature of the Beast
    1. C​+​+: What’s It Good For?
      1. High-Level Abstractions at Low Cost
      2. Low-Level Access When You Need It
      3. Wide Range of Applicability
      4. Highly Portable
      5. Better Resource Management
      6. Industry Dominance
  3. 2. The Origin Story
    1. C: Portable Assembler
    2. C with High-Level Abstractions
    3. The ’90s: The OOP Boom, and a Beast Is Born
    4. The 2000s: Java, the Web, and the Beast Nods Off
  4. 3. The Beast Wakes
    1. Technology Evolution: Performance Still Matters
    2. Language Evolution: Modernizing C​+​+
    3. Tools Evolution: The Clang Toolkit
    4. Library Evolution: The Open Source Advantage
  5. 4. The Beast Roars Back
    1. WG21
    2. Tools
    3. Standard C​+​+ Foundation
    4. Boost: A Library and Organization
    5. Q&A
    6. Conferences and Groups
    7. Videos
    8. CppCast
    9. Books
  6. 5. Digging Deep on Modern C​+​+
    1. Type Inference: Auto and Decltype
    2. How Move Semantics Support Value-Semantic and Functional Programming
    3. No More Output Parameters
    4. Inner Functions with Lambdas
    5. Lambdas as a Scope with a Return Value
  7. 6. The Future of C​+​+
    1. Setting the Standard
    2. “Never Make Predictions, Especially About the Future” (Casey Stengel)
      1. Performance
      2. New Platforms
      3. Scale
      4. Software Ubiquity
      5. Powerful Tools
  8. Bibliography