
Build a Process Monitor Like top by Reading /proc
Build a small top clone in C that reads /proc/PID/stat and /proc/stat on Linux 6.x, computes CPU percentages from tick deltas and sorts the busiest processes.
Practical coding tutorials and techniques for hardware and computer systems.

Build a small top clone in C that reads /proc/PID/stat and /proc/stat on Linux 6.x, computes CPU percentages from tick deltas and sorts the busiest processes.
Processes, threads, files, memory mapping, signals, IPC and sockets through POSIX and Win32: the core every other kind of system is built on.
Linux kernel modules and drivers, system calls, schedulers, bootloaders and UEFI, and writing a hobby operating system from the first instruction.
Bare-metal firmware on STM32, ESP32, RP2040, AVR, nRF and RISC-V: GPIO, UART, SPI, I2C, DMA, interrupts, timers, low power and over-the-air updates.
FreeRTOS, Zephyr, NuttX, ThreadX and RTEMS: tasks, priorities, queues, timing analysis, devicetree and Kconfig, and when a superloop is enough.
Yocto, Buildroot, U-Boot, device trees and board support packages: building a small, bootable Linux for Raspberry Pi, i.MX and custom hardware.
x86-64, ARM, AArch64 and RISC-V assembly, calling conventions, SIMD, pipelines, caches and memory ordering, and reading the disassembly your compiler wrote.
GCC, LLVM and Clang, the ARM GNU toolchain, linkers and linker scripts, ELF, cross-compiling, Make, CMake, Meson and Bazel, and writing a compiler of your own.
OpenGL, Vulkan, Apple Metal, CUDA and OpenCL: graphics pipelines, compute kernels, shaders and GPU memory, from the first triangle to a tuned kernel.
IBM Z and z/OS: COBOL, JCL, REXX, HLASM and PL/I, CICS, Db2 and IMS, datasets and batch jobs, and modernising code that still runs the world's payments.
Allocators, cache-friendly data layout, profiling with perf, VTune and Instruments, benchmarking that means something, and memory safety without losing speed.
Threads, atomics, memory models, lock-free structures, async runtimes and actor systems such as Erlang/OTP, and the races each one invites.
Sockets, epoll, kqueue and io_uring, eBPF and XDP, DPDK, and protocol stacks written from the packet up.

How async runtimes work from the kernel up: readiness and completion I/O, epoll, io_uring, reactors, executors, Tokio internals and how to choose.

Write a complete Linux 6.12 PCI driver: probe, BAR mapping, MSI interrupts, DMA with a restricted mask, a user-space interface, error recovery and testing.

A working method for Linux 6.12 kernel bugs: debug builds, reading oopses, runtime checkers, tracing, gdb in QEMU, hangs, and capturing crashes with kdump.

Compare Verilog, SystemVerilog and VHDL on syntax, typing, tool support and jobs, and pick the first HDL for your FPGA or ASIC goals with a decision table.

Compute the CUDA grid size with ceiling division, choose a block size that is a multiple of 32, and guard the tail so no thread reads past the end of the array.

Generate your own PK, KEK and db keys, enroll them from UEFI setup mode with efitools, and sign a Linux kernel image with sbsign so only your binaries boot.

Describe the flash and RAM of a microcontroller to GNU ld with the MEMORY command, then place sections in them and read the overflow errors it produces.

See how AddressSanitizer in Clang 19 maps every 8 bytes of memory to one shadow byte, pads allocations with redzones and checks each access at run time.

NaN boxing hides pointers, booleans and nil inside the unused payload bits of a 64-bit double, so a VM value fits in one machine word with no tag field.
We send one email when a new post is published. No spam.