C and C++
Performance, memory safety, compilers and modern C++ in practice.
185 links, newest first.
- C and C++Article
Optimizing a Lock-Free SPSC Ring Buffer
The post walks through an SPSC ring buffer, moving from mutexes to atomics and cache-aware tuning. It reports performance at each stage, including changes from memory ordering and reduced cache-line ping-pong.
It shows how synchronization choices and cache-line contention affect ring-buffer performance.
- C and C++Paper
Comparing DATA and Microwalk for Constant-Time Violation Detection
A paper comparing DATA and Microwalk for detecting constant-time violations in cryptographic libraries.
The comparison is relevant to engineers evaluating tools for finding timing-related issues in cryptographic code.
- C and C++Article
eBPF introduction and learning resources
The eBPF website introduces technology for running sandboxed programs in the Linux kernel without changing kernel source code or loading a kernel module. It also offers tutorials and community resources.
Useful for engineers exploring ways to run programs in the Linux kernel without modifying its source or loading a module.
- C and C++Article
Assembly vs. Intrinsics
Dan Luu’s article, “Assembly v. intrinsics,” covers assembly and intrinsics.
Relevant to engineers weighing low-level implementation choices in C and C++.
- C and C++Video
CppCon 2025 Talk on JSON Processing with C++26 Reflection
A CppCon 2025 talk presents JSON serialization and deserialization using upcoming C++26 reflection features and the C++ standard library, without macros or manual mapping.
Engineers can learn how proposed reflection features may affect JSON handling and performance in C++.
- C and C++Article
A Beginner’s Guide to C++ Ranges and Views
An introductory article on C++20 ranges and views, aimed at programmers new to the feature.
It offers a concise starting point for learning a major addition to C++20.
- C and C++Paper
Intel Updates the AVX10.2 Specification to Version 6.0
Intel refreshed its AVX10.2 architecture specification to version 6.0. The post notes that AVX10_VNNI_INT was renamed AVX10_V1_AUX.
The updated specification and feature rename may affect compiler and hardware support work.
- C and C++Paper
An Experimental Review of Shortest Float-to-Decimal Conversion
The paper compares algorithms that convert binary floating-point values to short decimal strings across hardware architectures and datasets. Its preview reports that Schubfach and Dragonbox reach up to a tenfold speedup over Dragon4.
The comparison can help engineers choose faster algorithms for formatting floating-point values.
- C and C++Article
Designing a SIMD Algorithm from Scratch
An article about designing a SIMD algorithm from scratch, with a focus on Base64.
Useful for engineers seeking a concrete example of SIMD algorithm design.
- C and C++Paper
Unlocking Modern CPU Power with C++ Optimization
Fedor G. Pikus presented “Unlocking Modern CPU Power – Next-Gen C++ Optimization Techniques” at C++Now 2024. The item links to the talk video and slides.
The presentation may offer practical insight into C++ optimization techniques for modern CPUs.
- C and C++Article
Practical Guide to Bare-Metal C++
A guide to bare-metal C++ by Alex Robenko.
It is a focused resource for engineers working with C++ in bare-metal environments.
- C and C++Article
Using Fibers to Expand a Thread’s Stack at Runtime
Raymond Chen’s article discusses using fibers to expand a thread’s stack at runtime. Part 1 focuses on the simple return value.
It covers a runtime stack-management technique relevant to systems programming.
- C and C++Article
A Fundamental Introduction to x86 Assembly Programming
Nayuki’s introduction covers x86 assembly programming. The post shares it as a resource for learning assembly.
Understanding x86 assembly can help C and C++ engineers reason about low-level code and performance.
- C and C++Article
Advent of Compiler Optimizations 2025 Archive
Matt Godbolt’s blog links to an archive of Advent of Compiler Optimizations 2025.
A focused archive can help C and C++ engineers explore compiler optimizations.
- C and C++Article
Atomic Operations and Contention
Fabian Giesen’s article discusses primitives for building systems on coherent caches, following an earlier post on how cache coherency works.
Useful background for understanding how atomic operations interact with cache coherency.
- C and C++Article
Trade-offs Between Dynamic and Static Linking
Jordan Rose’s article discusses the trade-off between launch time and disk space in dynamic and static linking, and notes that there is room to improve.
It helps engineers weigh linking strategies against application startup time and disk usage.
- C and C++Article
Stack Frame Layout on x86-64
An article by Eli Bendersky about stack frame layout on x86-64.
Useful for understanding how function calls use the stack on x86-64.
- C and C++Article
Is Parallel Programming Hard, and What Can You Do About It?
Paul McKenney’s book addresses the challenges of parallel programming and what can be done about them.
Useful for engineers seeking guidance on parallel programming challenges.
- C and C++Article
How libc++ Implements std::string
Joel Laity’s article examines libc++’s implementation of std::string.
Understanding a standard library implementation can help engineers reason about string behavior and performance.
- C and C++Article
Pointer Compression in V8
A V8 article explains pointer compression and says the technique reduced heap size by up to 43%.
It offers an example of a memory-footprint optimization in a production JavaScript engine.
Build with AgentLog
Send your own newsletter
CommsHarbor keeps contacts, consent and one-click unsubscribe together.
Free workspace
Open CommsHarbor




