Book

The Art of Writing Efficient Programs

This book takes you through a systematic study of every aspect involved in improving the performance of your programs. It provides you with solutions to a range of performance-related troubleshooting scenarios and equips you with the knowledge and tools necessary for writing efficient programs while building performance-intensive applications.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

15h28m

Language

English

About Book

Who Is This Book For?

This book is for experienced developers and programmers who work on performance-critical projects and want to learn new techniques to improve the performance of their code. Programmers in algorithmic trading, gaming, bioinformatics, computational genomics, or computational fluid dynamics communities will get the most out of the examples in this book, but the techniques are fairly universal. Although this book uses the C++ language, the concepts demonstrated in the book can be easily transferred or applied to other compiled languages such as C, Java, Rust, Go, and more.

Book content

chapters 15h28m total length

Introduction to Performance and Concurrency

Performance Measurements

CPU Architecture, Resources, and Performance Implications

Memory Architecture and Performance

Threads, Memory, and Concurrency

Concurrency and Performance

Data Structures for Concurrency

Concurrency in C++

High-Performance C++

Compiler Optimizations in C++

Undefined Behavior and Performance

Design for Performance

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required