Skip to content

C and C++

  1. C and C++Article
    5 months ago @vivekgalatage valgrind.org

    Valgrind tools for debugging and profiling

    The Valgrind manual describes a suite of tools for debugging and profiling. It can detect memory-management and threading bugs and perform detailed profiling.

    Engineers can use Valgrind to investigate runtime bugs and profile programs.

  2. C and C++Article
    5 months ago @vivekgalatage gingerbill.org

    Memory Allocation Strategies

    A series by gingerBill about memory allocation strategies.

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

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

  4. C and C++Article
    5 months ago @vivekgalatage abseil.io

    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.

  5. C and C++Article
    5 months ago @dvyukov lore.kernel.org

    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.

  6. C and C++Article
    5 months ago @vivekgalatage ubuntu.com

    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.

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

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

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

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

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

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

  13. 5 months ago @vivekgalatage

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

  14. 5 months ago @vivekgalatage youtube.com

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

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

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

  17. 5 months ago @vivekgalatage

    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.

  18. 5 months ago @vivekgalatage youtube.com

    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.

  19. C and C++Article
    5 months ago @vivekgalatage arne-mertz.de

    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.

  20. 5 months ago @vivekgalatage

    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.

Looking for something else?QuestionsContact