A comprehensive collection of C++ learning resources, tools, libraries, and references curated from various sources. This repository serves as a one-stop destination for developers looking to learn, improve, or master C++ programming.
- π Learning Resources
- π οΈ Development Tools
- π Libraries & Frameworks
- π Standards & References
- π₯ Talks & Videos
- π Articles & Blog Posts
- π§ Modern C++ Features
- π Performance & Optimization
- π Safety & Security
- π Community Resources
- C++ Crash Course - A comprehensive guide to modern C++ programming (Source Code)
- Modern C++ Tutorial: C++11/14/17/20 On the Fly - Learn modern C++ features incrementally (Source Code)
- Accelerated C++: Practical Programming by Example - Classic introduction to C++ (2000)
- Embracing Modern C++ Safely Book - Guide to adopting modern C++ features safely (2021)
- Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming - Embedded C++ programming guide (Source Code)
- The Definitive C++ Book Guide and List - Community-curated list of C++ books
- A Tour of C++, 3rd edition - Covering C++20 plus likely C++23 features (2022)
- Data-Oriented Design Book - Focus on data-oriented programming patterns
- Implementing Useful Algorithms in C++ - Practical algorithm implementations (Source Code)
- Object-Oriented Data Structures in C++ course - Coursera course on data structures
- Beginning C++ Programming - From Beginner to Beyond - Comprehensive Udemy course
- Programming in C/C++ Efficiently course - Efficiency-focused programming course (2021)
- Advanced Programming Techniques for Robust Efficient Computing - Advanced C++ techniques (Lectures)
- Advanced Data Structures in C++ - WSU course materials (2020)
- C++ By Example - Learn C++ through practical examples (HN Discussion)
- Learn C++ - Comprehensive website for learning C++ programming
- C++ Insights - See your source code through a compiler's eyes (Source Code)
- Hacking C++ - Modern C++ with code examples and infographics
- Software Tools in C++ - Practical software development in C++
- Modern C++ for C Programmers - Transitioning from C to C++ (2018)
- Introduction to C++ for Swift Developers - C++ guide for Swift developers (2019)
- C++ for Swift developers - Another perspective (2021)
- Learning to Code in C++ with Haiku OS - Using Haiku OS for C++ development
- Circle - C++ Automation Language (Website)
- Cheerp - C/C++ compiler for Web applications (WebAssembly/JavaScript)
- Cling - Interactive C++ Interpreter (Website)
- zapcc - Caching C++ compiler based on clang
- JSCPP - Simple C++ interpreter written in JavaScript
- Tiny C++ Interpreter - Lightweight C++ interpreter
- build2 - C/C++ Build Toolchain (Source Code)
- Buckaroo - Decentralized C++ package manager
- Qb - Zero-configuration build system for C/C++ projects
- dds - Modern build, test, and packaging tool (Website)
- fips - High-level build system for multi-platform C/C++ projects
- Zork - Project manager and build automation for modern C++
- CPM.cmake - CMake dependency management script
- cget - C++ package retrieval
- xrepo - Cross-platform C/C++ package manager
- Ocean - Cargo-like project manager for C/C++
- rr - Time-travel debugging for Linux (Source Code)
- ProDBG - Cross-platform debugger under development
- Orbit - Standalone C/C++ profiler
- MicroProfiler - Cross-platform low-footprint realtime profiler
- easy_profiler - Lightweight profiler library
- uftrace - Function graph tracer for C/C++/Rust
- Palanteer - Lean tools for software quality improvement
- Cppcheck - Static analysis tool
- Clang-Tidy - Clang-based C++ linter
- cpplint - Static code checker
- IKOS - Static analyzer based on Abstract Interpretation
- Flawfinder - Security flaw scanner
- OCLint - Static code analysis tool (Source Code)
- Include What You Use - Tool to analyze #includes
- CPPINCLUDE - Analyzing includes in C++
- Immer - Immutable and persistent data structures
- All Algorithms implemented in C++ - Algorithm implementations
- Mesh - Memory allocator that reduces footprint
- TCMalloc - Google's fast, multi-threaded malloc
- SGCL - Precise pauseless concurrent Garbage Collector
- ThreadPool - Simple C++11 Thread Pool implementation
- CppBenchmark - Performance benchmark framework
- pybind11 - Seamless C++11/Python operability
- SWIG - Connect C/C++ with high-level languages (Website)
- CPyKE - Easy integrated Python scripting in C++
- Tolc - Makes C++ callable from other languages (Source Code)
- cppyy - Python-C++ bindings interface based on Cling/LLVM
- Draft C++ Standard: Contents - Draft C++ standard (Source Code)
- C++ Standard Draft Sources - Official draft sources (Website)
- C++ Reference - Comprehensive C++ reference (Source Code)
- WG21: C++ Standards Committee Papers - Standards committee papers
- C++ papers JTC1/SC22/WG21 - Official papers (2020)
- C++ Core Guidelines - Official guidelines (Source Code)
- C++ Best Practices - 45ish Simple Rules (2020)
- Collaborative Collection of C++ Best Practices - Community collection
- NASA C++ Coding Standards and Style Guide - NASA's guidelines
- C++ Style Guide Lineup - Comparison of common style guides
- Modern C++ Cheat Sheet - Quick reference
- 30 Seconds Of Standard Template Library in C++ - STL quick reference
- C++ Cheat Sheets - Various cheat sheets
- {fmt} Formatting & Printing C++ Library Cheat Sheet - fmt library guide
- CppCon 2019 talks - Full playlist
- CppCon 2019: Bjarne Stroustrup "C++20: C++ at 40"
- CppCon 2019: Chandler Carruth "There Are No Zero-cost Abstractions"
- CppCon 2020: Back to Basics series - Concurrency and more
- CppCon 2014: Mike Acton "Data-Oriented Design and C++"
- CppCon 2021: Branchless Programming in C++ - Fedor Pikus
- CppCon 2022 Presentation Materials - Slides and materials
- Kevlin Henney - Functional C++ (2017)
- Louis Brandy "Curiously Recurring C++ Bugs at Facebook" (2017)
- Jonathan Boccara "105 STL Algorithms in Less Than an Hour" (2018)
- Performance Matters - Emery Berger (2020)
- Trading at light speed: designing low latency systems in C++ - David Gross (2022)
- Sean Parent - Exceptions the Other Way Round (2022)
- All C++20 core language features with examples (2021)
- The Evolutions of Lambdas in C++14, C++17 and C++20 (2021)
- 20 Smaller yet Handy C++20 Features (2022)
- C++20 Modules with GCC11 (2021)
- C++20 Coroutines and io_uring (2022)
- In-depth: Functional programming in C++ (2012)
- Is C++ fast? (2019)
- Optimizing software in C++ - Comprehensive guide
- SIMD for C++ Developers (2019)
- The Most Important Optimizations to Apply in Your C++ Programs (2022)
- Modern C++ Won't Save Us (2019)
- Zero-overhead deterministic exceptions: Throwing values (2018)
- Use-after-freedom: MiraclePtr (2022)
- Retrofitting Temporal Memory Safety on C++ (2022)
- Move, simply (2020)
- Dependency Injection in C++ (2016)
- The copy and swap idiom in C++ (2022)
- MutexProtected: A C++ Pattern for Easier Concurrency (2023)
- 17 Smaller but Handy C++17 Features (2020)
- constexpr is a Platform (2020)
- My tutorial and take on C++20 coroutines (2021)
- C++ Coroutines: Understanding the Compiler Transform (2022)
- Writing custom C++20 coroutine systems (2023)
- Memory mapped storage with Modern C++ (2015)
- High-performance garbage collection for C++ (2020)
- Correctly implementing a spinlock in Modern C++ (2020)
- Avoid exception throwing in performance-sensitive code (2022)
- The sad state of debug performance in C++ (2022)
- Safer Usage Of C++ (2021)
- Borrowing Trouble: The Difficulties Of A C++ Borrow-Checker (2021)
- Making C++ Memory-Safe Without Borrow Checking (2023)
- Safety and Security: The Future of C++ - JF Bastien (2023)
- C++ resources - Comprehensive link collection
- Awesome C++ - Curated list of awesome C++ frameworks
- Awesome Modern C++ - Modern C++ resources
- Awesome Lock-Free - Lock-free programming resources
- #include C++ - Global, inclusive C++ community
- C++ Stories - Modern C++ news and tutorials
- Fluent C++ blog - Expressive C++ code
- #include Discord - C++ community Discord server
- sigcpp - Special Interest Group on C++
- C++ Frequently Questioned Answers - Alternative perspective on C++
- C++ Tip of The Week - Weekly tips
This collection represents a snapshot of valuable C++ resources. The C++ ecosystem is constantly evolving, so some links may become outdated over time. If you find broken links or have suggestions for additional resources, please feel free to contribute!
This collection is provided as-is for educational purposes. Individual resources are subject to their respective licenses.
Last updated: 2024