C and C++
Performance, memory safety, compilers and modern C++ in practice.
185 links, newest first.
- C and C++Article
Programming Language Memory Models
Russ Cox’s article is Part 2 of a series on memory models, focusing on programming language memory models.
Memory models are relevant to understanding how concurrent programs behave.
- C and C++Article
Hardware Memory Models
Russ Cox’s article introduces hardware memory models as the first part of a series on memory models.
Understanding hardware memory models helps engineers reason about memory behavior in concurrent software.
- C and C++Article
Library Order in Static Linking
Eli Bendersky’s article covers library order in static linking.
Understanding library order can help engineers diagnose static-linking issues.
- C and C++Article
How the Memory Subsystem Interacts with Branch Prediction
An article by Ivica Bogosavljević investigates how the memory subsystem interacts with branch prediction and how this interaction shapes software performance.
Understanding this interaction can help engineers reason about performance beyond branch prediction alone.
- C and C++Article
Using Value Speculation to Beat the L1 Cache
Francesco Mazzoli’s article discusses beating the L1 cache with value speculation.
It covers a performance technique relevant to engineers optimizing latency-sensitive code.
- C and C++Article
The Lost Art of Structure Packing
Eric S. Raymond’s article is titled “The Lost Art of Structure Packing.” The post provides no further details about its contents.
Structure packing is a relevant topic for engineers working with C and memory layout.
- C and C++Paper
ELF Format Specification
The post links to the ELF format specification, which documents the Executable and Linkable Format.
Useful for engineers working with executable files, object files, and binary tooling.
- C and C++Post on X
Minimize Synchronization in Multithreaded Systems
The post argues that effective multithreaded design focuses on minimizing synchronization so tasks can run simultaneously, while handling necessary synchronization points correctly.
Reducing synchronization can help preserve the performance benefits of concurrent execution.
- C and C++Post on X
Embracing Modern C++ Safely
The post recommends a book by John Lakos, Vittorio Romeo, Rostislav Khlebnikov, and Alisdair Meredith. It describes recommendations for using or avoiding C++ features.
It may help engineers make informed choices about modern C++ features.
- C and C++Article
Why CPUs have multiple cache levels
Fabian Giesen’s article answers a reader’s question about why CPUs have multiple cache levels, going beyond a one-sentence explanation.
Understanding CPU cache levels can help engineers reason about performance.
- C and C++Paper
Onur Mutlu’s Talk on Memory-Centric Computing
A talk titled “Memory-Centric Computing: Solving Computing’s Memory Problem,” presented at EFCL Winter School 2026, is available as a PDF.
It introduces a computing approach focused on addressing memory-related performance challenges.
- C and C++Repository
A Guide to Standard C++ Algorithms
A GitHub repository for “The Standard Algorithms in C++,” a book by Šimon Tóth.
A practical reference for engineers working with the C++ standard algorithms library.
- C and C++Article
Floating-Point Error Handling Techniques in C++
The article discusses practical ways to handle floating-point errors in C++, including manual checks, sticky bits, and hardware traps, with attention to performance.
It compares error-detection approaches that can affect both correctness and runtime performance.
- C and C++Article
Intel Intrinsics Guide documents C-style access to instructions
Intel’s Intrinsics Guide lists C-style functions that provide access to instructions without writing assembly code.
Engineers can use it to look up intrinsics when working with processor instructions.
- C and C++Article
LLD linker documentation
The LLVM documentation site for LLD, the LLVM linker. The post describes a video covering its internals, design, data structures, and performance.
Useful for engineers working with LLVM or investigating linker design and performance.
- C and C++Paper
How to Write Shared Libraries
A guide by Ulrich Drepper on writing shared libraries.
Useful for engineers working with shared-library design and implementation.
- C and C++Article
Beginner’s Guide to Linkers
A beginner’s guide to linkers.
Understanding linkers helps engineers navigate the build process for C and C++ programs.
- C and C++Article
Eight ways to implement defer in C
The article describes eight ways to implement defer in C and discusses their portability. It presents alternatives to waiting for defer to be added to the C standard.
Useful for engineers evaluating cleanup patterns and portability tradeoffs in C.
- C and C++Repository
IPC and the CPU Microarchitecture Behind It
A concise breakdown of the nature of IPC and the CPU microarchitectural components that help achieve it.
Understanding IPC and CPU microarchitecture can help engineers reason about performance.
- C and C++Repository
CoreRipperX 2.0 Adds UI and AVX Stress-Test Modes
CoreRipperX 2.0 is a CPU stress-test tool using AVX operations. The release adds a UI, throttle and effective-clock checks, new AVX tests, workload modes, 1T/nT tests, and CPU monitoring.
Engineers can use it to stress-test CPUs and monitor clocks and throttling.
Build with AgentLog
Send your own newsletter
CommsHarbor keeps contacts, consent and one-click unsubscribe together.
Free workspace
Open CommsHarbor





