Skip to content

C and C++

  1. C and C++Article
    8 months ago @abdimoalim_ v8.dev

    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.

  2. 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.

  3. 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.

  4. 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.

  5. C and C++Article
    8 months ago @abdimoalim_ johnnysswlab.com

    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.

  6. C and C++Article
    8 months ago @abdimoalim_ mazzo.li

    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.

  7. C and C++Article
    8 months ago @abdimoalim_ catb.org

    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.

  8. 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.

  9. 8 months ago @dgtlgrove

    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.

  10. 8 months ago @ChShersh

    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.

  11. 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.

  12. 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.

  13. C and C++Project
    8 months ago @vivekgalatage github.com

    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.

  14. 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.

  15. C and C++Article
    8 months ago @FelixCLC_ intel.com

    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.

  16. C and C++Article
    8 months ago @vivekgalatage lld.llvm.org

    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.

  17. 8 months ago @vivekgalatage akkadia.org

    How to Write Shared Libraries

    A guide by Ulrich Drepper on writing shared libraries.

    Useful for engineers working with shared-library design and implementation.

  18. C and C++Article
    9 months ago @vivekgalatage lurklurk.org

    Beginner’s Guide to Linkers

    A beginner’s guide to linkers.

    Understanding linkers helps engineers navigate the build process for C and C++ programs.

  19. C and C++Article
    9 months ago @ohmypy antonz.org

    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.

  20. C and C++Project
    9 months ago @medawsonjr github.com

    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.

Looking for something else?QuestionsContact