Topic
Everything filed under Systems Programming, newest first.
RSS · JSON · All topics
lucyNES: a NES emulator written in Odin
Lucy introduces lucyNES, a solo NES emulator written in Odin between April 2024 and January 2025, with notes on the project and debugger, menu and game showcase screenshots; source is on GitHub.
5 min · 1,168 words
Disk encryption on NetBSD - achieving secrecy
A practical NetBSD guide to disk encryption for the stolen-or-lost-device threat model: which data actually needs protecting, the boot-time limits of full disk encryption, and how to set up an encrypted partition holding /home, /var and /usr.
10 min · 2,233 words
Creating a self booting ZIP archive
David Oberhollenzer builds boot.zip, a completely normal ZIP archive that contains its own source code and is also bootable via BIOS and Multiboot, walking through ZIP format polyglot trickery, the Multiboot header and booting on bare metal.
17 min · 3,879 words
Lying to Zed to get its remote server running on FreeBSD
Hayzam Sherif explains how he got the Zed editor's remote development server running on FreeBSD by making Zed believe it was talking to a Linux host, using FreeBSD's Linux compatibility layer, and asks the Zed team to support FreeBSD remotes natively.
5 min · 1,157 words
Why Zig Over C for Systems Programming
Mihalis Tsoukalos walks through what C gets right, the parts of C that cost him time, and how Zig addresses them with comparable low-level control, no runtime, and compiler and debug-mode checks that catch mistakes C lets through.
7 min · 1,565 words
Brendan Gregg describes active benchmarking: analysing system performance with other tools while a benchmark runs, to confirm it measures what you intend and to find the real limiter, rather than trusting passive results. Statistical analysis is useful afterwards, once the numbers are valid.
4 min · 977 words
Memory management in 40 major C projects, a survey
Phil Eaton surveys how 40 major C projects allocate memory: only 8 use malloc/free alone, only 2 never use it, 15 use regions at some point, 7 primarily use regions, 5 primarily use garbage collection and 3 primarily use reference counting.
5 min · 1,090 words
The Darling project (macOS compatibility layer for Linux) reports its biggest changes this year: a new policy on AI-assisted contributions, initial ARM64 support, and what the team plans to work on next.
5 min · 1,074 words
Ben Andrew traces what glibc's malloc actually does under the hood: using strace to watch brk and mmap syscalls, measuring syscall cost, and explaining how the heap, arenas, bins and the mmap threshold let small allocations avoid hitting the kernel, with benchmarks comparing allocators.
14 min · 3,249 words
Andrew Zonenberg describes trying to run ST's STM32MP2 applications processor as a very fast bare-metal microcontroller, built only with upstream GCC toolchains and no vendor SDKs, getting code running on the Cortex-A35 and M33 cores, and finding a silicon bug with security impact along the way.
26 min · 5,999 words
First steps in bare-metal programming using UEFI – series index
Kevin Boone’s series index for writing bare-metal x86 applications on Linux against UEFI firmware, covering tooling, linking, the EFI system partition, bootable images, and the Simple File Protocol.
1 min · 130 words
An ode to livelyness analysis; SSA to registers
xnacly walks through liveness analysis on a block-local SSA IR and the register allocation built on it, for both the register-based bytecode VM and the x86 JIT of the purple-garden programming language.
13 min · 3,091 words
Mitchell Hashimoto announces Libghostty 1.0—the embeddable terminal library behind Ghostty—covering API stability, embedding use cases, and what a 1.0 commitment means for terminal and IDE vendors.
7 min · 1,688 words
Firecracker VM Escape: PwnEscape Part 2
Firecracker is supposed to keep untrusted code inside a microVM. We escaped it and achieved code execution as root on the host. We found how it saved registers, changed where it would resume, and made it execute a call of our choosing when it returned from KVM. The guest then restored the temporary stack changes. Firecracker kept running, and the VM remained accessible over SSH.
11 min · 2,450 words
We can do better than line-buffered output
Chris Wellons argues line buffering is a common bottleneck in terminal programs and proposes deadline-based flushing, where output is flushed after a short time limit instead of on every newline, with C examples.
4 min · 823 words
Pushing the Limits with getaddrinfo
An IPv4 address is just a 32-bit number, and glibc will accept it in forms you would never recognize. ⁰𝑋⁴5.🯰3₆。⁵₂₈𝟲🯶 is one of them. Anything that judges an address by how it looks can be walked around.
12 min · 2,647 words
Christian Brauner and Lennart Poettering explain that systemd has merged support for Rust: new leaf components such as individual binaries may now be written in Rust, while the core libsystemd-shared library stays in C for now, and they outline the blockers they hope the Rust community will address.
9 min · 2,181 words
Pointer Provenance in Rust vs C++
Sofía Belén López Vicens explores pointer provenance, the idea that pointers are more than plain integers, by inspecting LLVM IR and comparing how C++ and Rust approach provenance and the optimisations and undefined behaviour it affects.
9 min · 1,976 words
Farid Zakaria explains how Rewind, a deterministic VM, represents guest time for faithful replay, and why counting retired conditional branches beats instructions or exits as the default clock.
5 min · 1,162 words
FreeBSD Status Report Third Quarter 2026
The FreeBSD Project's Q3 2026 status report collects 51 entries from core, Foundation, release engineering and contributor teams, covering kernel, userland, virtualization (bhyve/libvirt), ports, and documentation progress, plus plans for the next quarter.
88 min · 20,192 words