Skip to content
EN

C and C++

Performance, memory safety, compilers and modern C++ in practice.

185 links, newest first.

Get the weekly briefing

The best new links of the topics you pick, summarized with the source. At most one email a week.

Topics: C and C++

Before the first issue we email you to confirm; leaving takes one click. Sent with CommsHarbor. Privacy

  1. C and C++Article

    Memory Allocation Strategies

    A series by gingerBill about memory allocation strategies.

    Useful for engineers who want to build a clearer understanding of memory allocation.

  2. C and C++Article

    C++ Core Guidelines: Programming at Compile Time with constexpr

    An MC++ Blog article about using constexpr to program at compile time, framed around the C++ Core Guidelines.

    Compile-time programming with constexpr is relevant to C++ code design and evaluation.

  3. C and C++Article

    Abseil C++ Performance Hints

    Abseil’s page is titled “Performance Hints.” The preview describes Abseil as an open-source collection of core C++ library code.

    A focused resource for engineers working with C++ performance and Abseil.

  4. C and C++Article

    Linux io_uring patch adds a lockless MPSC FIFO queue

    A Linux kernel patch proposes adding a lockless multi-producer, single-consumer FIFO queue to io_uring. The post links to the original MPSC queue design from 2008.

    The patch offers a concrete example of a lock-free queue design being applied in the Linux kernel.

  5. C and C++Article

    Linux Kernel Locks in Real-Time Ubuntu

    Real-time Ubuntu documentation explains how kernel locks protect critical code regions from context switching or preemption, including on SMP systems.

    Useful for understanding how kernel concurrency is handled in real-time and multiprocessor environments.

  6. The Little Book of Semaphores

    A post shares a PDF of Allen B. Downey’s *The Little Book of Semaphores*.

    Semaphores are a concurrency topic relevant to systems programming.

  7. Linux Kernel Locking Documentation

    The Linux Kernel documentation provides a guide to locking in the kernel.

    It can help engineers understand the kernel’s locking mechanisms and concurrency practices.

  8. C and C++Article

    A Guide to Undefined Behavior in C and C++, Part 1

    An article introducing a guide to undefined behavior in C and C++.

    Understanding undefined behavior is relevant to writing and analyzing C and C++ code.

  9. C and C++Article

    How the Standard Library Affects Dispatch Performance

    The post compares std::variant with virtual dispatch across GCC versions. Its preview says std::variant shifted from 28% slower on GCC 11 to 50% faster on GCC 12, with only the compiler changing.

    It highlights that compiler and standard library implementation choices can affect dispatch performance.

  10. C and C++Article

    cppreference’s C++ language reference

    A reference page covering the C++ language. The author says the reference is organized well.

    Engineers can use it as a reference when working with C++ language features.

  11. C and C++Article

    Handles as an alternative to pointers

    The post discusses handles as an alternative to pointers and describes preventing handle collisions with a per-slot generation counter.

    It offers engineers a memory-management approach relevant to data-oriented design.

  12. C and C++Post on X

    Fedor Pikus’s Two-Part Overview of C++ Concurrency

    The post recommends Fedor Pikus’s two-part talk, “Concurrency in C++: A Programmer’s Overview.”

    It points engineers to a talk focused on concurrency in C++.

  13. Concurrency in C++: A Programmer’s Overview

    A two-part talk by Fedor Pikus about concurrency in C++.

    Offers engineers a focused overview of concurrency in C++.

  14. C and C++Article

    Algorithmica guide to RAM and CPU caches

    Algorithmica has a guide titled “RAM & CPU Caches,” about memory and CPU caches.

    A resource on RAM and CPU caches is relevant to understanding memory-related performance.

  15. C and C++Article

    A Guide to Watchdog Timers for Embedded Systems

    An Interrupt article about watchdog timers for embedded systems.

    Watchdog timers are a practical reliability topic for embedded software engineers.

  16. C and C++Post on X

    Writing a Debugger From Scratch

    A blog series in eight parts on building a debugger, covering topics from attaching to a process to working with source and symbols.

    It offers engineers a structured deep dive into how debuggers work under the hood.

  17. Strategies for Writing Efficient C++ Programs

    A CppCon 2022 presentation by Jan Bielak about strategies for writing efficient C++ programs.

    The talk may offer practical approaches to improving C++ program efficiency.

  18. C and C++Article

    Why Conduct Code Reviews?

    The first part of Arne Mertz’s series explores reasons to conduct—or not conduct—code reviews.

    It offers engineers a basis for evaluating the purpose of code reviews.

  19. C and C++Post on X

    Eight-Part Series on Writing a Debugger from Scratch

    The blog series covers building a debugger, from attaching to a process through handling source code and symbols. The post describes it as a deep dive into how debuggers work under the hood.

    Understanding debugger internals can help engineers diagnose issues and reason about debugging tools.

  20. End-to-End Verification of Stack-Space Bounds for C Programs

    A 2014 paper by Q. Carbonneaux et al. on end-to-end verification of stack-space bounds for C programs.

    Useful to engineers investigating formal verification of memory-resource bounds in C.

Build with AgentLog

List your MCP, skill or plugin

Reach the engineers who read these briefings.

Sponsor AgentLog

Footer, sidebar or featured slot for 30 days.

From US$ 60

See the slots

Send your own newsletter

CommsHarbor keeps contacts, consent and one-click unsubscribe together.

Free workspace

Open CommsHarbor