New to Computer Science? Read the Computer Science article
Write the processor that powered the BBC Micro, the Commodore 64, the NES and the Apple II. Thirty builds take you from LDA #$48 to a cycle-accurate 6502 emulator in Rust that passes all three standard conformance suites and finishes by running a complete 6502 chess program. Written for developers.
Ready to move beyond the basics of Rust? This book takes you inside the language, from ownership and memory management to concurrency, networking and performance optimization. Build real systems projects, learn to track down tricky bugs and gain the skills to write Rust software that is fast, secure and reliable.
Build real systems software with Odin. This practical guide takes you from the language basics to memory, concurrency, networking and performance. Learn how Odin works under the hood while building parsers, allocators, simulations and more, with complete examples and clear comparisons to C, C++, Rust and Go.
The ELF format sits at the heart of how Unix-like systems build and run software, yet much of its inner workings remains poorly understood. This book takes you under the hood, covering every structure and mechanism with practical examples and complete C programs. A hands-on reference for programmers who need to understand ELF down to the last detail.
Zig in Depth is a practical guide to modern systems programming with Zig. Through clear explanations and runnable examples, you'll learn to write safe, efficient, and idiomatic Zig code, from the language fundamentals to advanced features like comptime, memory management, concurrency, and C interoperability.
Stop guessing what the bytes on disk mean and build the filesystem yourself. Over twelve chapters you implement FAT12 from scratch in C, from the first sector read to formatting a fresh volume, and check every step against a hexdump. Then you boot the exact same code inside your own kernel and watch it write and read files on bare metal.
Master AArch64 assembly with a practical guide that covers ARM64 fundamentals, advanced instruction sets, performance optimization, debugging, and systems programming. From your first instructions to writing efficient low-level code, this book provides the knowledge and hands-on examples you need.
Build a Linux operating system from source with only the components you need. Learn how the kernel, boot process, system utilities, libraries and package management work together while gaining the practical skills to build and maintain your own Linux distribution.
macOS powers millions of devices, but few developers ever explore what lies beneath its polished interface. Inside macOS explains how the XNU kernel, Mach, BSD, Apple Silicon, APFS, and modern security technologies work together, giving systems programmers, security researchers, and engineers a deep understanding of Apple's operating system.
Master C the way it is used in serious software. Modern ANSI C Programming takes you from the fundamentals to memory management, data structures, concurrency and production-ready practices, with practical examples that show what works, what breaks and why. Write C that is portable, secure, efficient and built to last.
Build a complete x86_64 hardware-assisted hypervisor in Rust from the ground up. Through real, compilable code and clear explanations, you'll implement every major subsystem, from CPU and memory virtualization to device emulation, VirtIO, and multi-vCPU scheduling, gaining a practical understanding of modern virtualization.
Memory is at the heart of Linux performance. This book explains how the kernel manages it from virtual memory and page allocation to NUMA, cgroups and real-world optimization. Learn through clear explanations, kernel source examples and practical exercises you can run yourself.
SIMD can make software dramatically faster, but getting it right takes more than knowing a few intrinsics. This book shows you how vectorization really works, how to avoid costly mistakes and how to turn ordinary code into fast, production-ready software with techniques you can use again and again.
Build Linux from the ground up and see what really happens under the hood. From firmware and bootloader to kernel, libc, init, networking and security, this book strips the system down to its essentials while explaining why every piece exists, what depends on it and how far you can push minimalism.
Go beyond the surface of Apple binaries and uncover the inner workings of Mach-O. From file structures and dynamic linking to code signing and runtime execution, this book delivers the technical depth, practical tools and implementation details needed to analyze, understand and master executable binaries across the Apple ecosystem.