Skip to content
systemcoding.dev
Every guide free. No signup wall.

System Coding for Engineers

Practical coding tutorials and techniques for hardware and computer systems.

Browse by topics

Systems Programming

Processes, threads, files, memory mapping, signals, IPC and sockets through POSIX and Win32: the core every other kind of system is built on.

Kernels

Linux kernel modules and drivers, system calls, schedulers, bootloaders and UEFI, and writing a hobby operating system from the first instruction.

Embedded

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.

RTOS

FreeRTOS, Zephyr, NuttX, ThreadX and RTEMS: tasks, priorities, queues, timing analysis, devicetree and Kconfig, and when a superloop is enough.

Embedded Linux

Yocto, Buildroot, U-Boot, device trees and board support packages: building a small, bootable Linux for Raspberry Pi, i.MX and custom hardware.

Assembly

x86-64, ARM, AArch64 and RISC-V assembly, calling conventions, SIMD, pipelines, caches and memory ordering, and reading the disassembly your compiler wrote.

Toolchains

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.

GPU

OpenGL, Vulkan, Apple Metal, CUDA and OpenCL: graphics pipelines, compute kernels, shaders and GPU memory, from the first triangle to a tuned kernel.

Mainframe

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.

Performance

Allocators, cache-friendly data layout, profiling with perf, VTune and Instruments, benchmarking that means something, and memory safety without losing speed.

Concurrency

Threads, atomics, memory models, lock-free structures, async runtimes and actor systems such as Erlang/OTP, and the races each one invites.

Networking

Sockets, epoll, kqueue and io_uring, eBPF and XDP, DPDK, and protocol stacks written from the packet up.

Step-by-step guides

Latest posts

All posts

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.