Modern C++23 QuickStart Pro
$29.99
Minimum price
$29.99
Suggested price

Modern C++23 QuickStart Pro

Advanced programming including variadic templates, lambdas, async IO, multithreading and thread sync

About the Book

Learn the latest features of C++23 with Modern C++ 23 QuickStart Pro, the perfect book for experienced developers who want to expand their knowledge and skills. This book takes a hands-on approach, providing rapid learning through real-world examples and scenarios that address complex programming challenges in C++.

The book begins by demonstrating the power of variadic templates and how to use them for dynamic function signatures. After becoming familiar with fold expressions for argument handling, you will then explore std::tuple and std::variant for handling heterogeneous data. The book then covers advanced function morphing with parameter packs and shape-shifting lambdas, as well as dynamic programming techniques. It also teaches complex function overloading and high-level thread orchestration using futures, promises, and callables. Next, we'll go over some low-level IO operations, such as controlling IO streams, efficiently handling file descriptors, and directly manipulating files.

You will then learn how to optimize memory management with shared, unique, and weak pointers, and how to engineer memory performance with custom allocators and cache-aware programming. You will learn advanced synchronization, including atomic operations, mutexes, locks, and thread pools, as well as lock-free data structures for peak performance. In addition, this book covers optimal integer and floating-point operations, arbitrary precision arithmetic, precise rounding with fixed-point arithmetic, and high-performance computation using math constant integration.

Key Learnings

  • Utilize C++23 variadic templates for dynamic function signatures.
  • Use fold expressions to simplify complex function operations and argument handling.
  • Manage heterogeneous data in high-performance applications with std::tuple and std::variant.
  • Use parameter packs and perfect forwarding to create flexible function signatures.
  • Use shape-shifting lambdas for flexible argument patterns.
  • Master file manipulation and stream management to create efficient low-level IO systems.
  • Customize memory management with unique, shared, and weak pointers to control resources.
  • Boost parallel processing with mutexes, locks, and thread pools.
  • Create lock-free data structures to reduce locking overhead in concurrent systems.
  • Use mathematical constants and precise rounding to improve numerical computations.

Table of Content

  1. Potential of Variadic Power in C++23
  2. Morphing Functions and Lambdas
  3. Taming Low-Level IO Operations
  4. Mastering Buffering and Async IO
  5. Outperforming Memory Management
  6. Engineering Memory Performance
  7. Advanced Multithreading for Experts
  8. Thread Synchronization and Atomic Mastery
  9. Turbocharging Floats and Ints
  • Share this book

  • Categories

    • C and C++
    • Algorithm
    • Embedded Systems
    • Functional Programming
    • Game Development
    • Automated Software Testing
    • Software Engineering
  • Feedback

    Email the Author(s)

About the Editor

GitforGits | Asian Publishing House
GitforGits | Asian Publishing House

GitforGits is an Asian publishing house where knowledgeable experts and open-source contributors collaborate to disseminate new ideas and innovations. We plan to provide niche, original, and useful content; we are a self-funded, independent publisher. We have books spanning the fields of computer science, cybersecurity, cloud computing, devops, deep learning, hardware programming, networking, the Internet of Things, and any other area of technology to which we can satisfactorily contribute.

Bundles that include this book

$59.98
Bought separately
$55.99
Minimum price
$59.99
Suggested price
$89.97
Bought separately
$87.99
Minimum price
$89.99
Suggested price

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub