
The Complete Guide to Systems Programming in Rust on Linux
Write Linux systems code in Rust with compile-time ownership checks, safe syscall wrappers, and the exact boundary where unsafe remains necessary.
Processes, threads, files, memory mapping, signals, IPC and sockets through POSIX and Win32: the core every other kind of system is built on.

Write Linux systems code in Rust with compile-time ownership checks, safe syscall wrappers, and the exact boundary where unsafe remains necessary.

Everything between exec and main in C on Linux: argv, envp and environ, getopt, the auxiliary vector, startup code, exit paths and passing a safe environment.

Write Linux 6.18 drivers in Rust: toolchain, module anatomy, pinned initialization, device lifetimes, misc, platform, PCI and PHY drivers, testing and style.

Build a real Unix command-line tool in C from argument parsing to exit codes, pipelines, locale, tests and a man page, with every step explained.

Write a Linux filesystem as a loadable module: file_system_type, the mount API, superblock, inodes, directories, page-cache I/O and a mount option, tested.

Build container isolation by hand: Linux namespaces for what a process sees, cgroups v2 for what it may use, with C code for clone and pivot_root.

Learn file descriptors on Unix and Linux from open and close to dup2, fork, pipes, limits, leaks, passing between processes and the kernel tables behind them.

A guide to shared memory, semaphores and message queues on Linux: POSIX and System V APIs, layout, locking, robust mutexes, crash recovery, limits and cleanup.

Learn malloc, calloc, realloc and free from scratch, the bugs they cause, who owns each pointer, and what glibc does underneath, with tested patterns.

Learn Win32 from scratch in C: handles, files, processes, threads, synchronization, memory, pipes, DLLs, windows and error handling, with code for each.

A working guide to Linux system calls: invocation, error returns, the main families with code, tracing with strace, seccomp filtering and portability.

A map of memory-safety bugs in C and C++, from stack overflows to use-after-free and type confusion, with the habits, tools and flags that stop each one.
We send one email when a new post is published. No spam.