Get Free Shipping on orders over $49
Rust for Linux Programming : Build kernel modules, drivers, file systems, networking, and memory using Rust's ownership, traits, and RAII - Zyle Kot

Rust for Linux Programming

Build kernel modules, drivers, file systems, networking, and memory using Rust's ownership, traits, and RAII

By: Zyle Kot

Paperback | 15 May 2026

At a Glance

Paperback


RRP $109.99

$90.75

17%OFF

or 4 interest-free payments of $22.69 with

 or 

Ships in 5 to 7 business days

What's really cool is this hands-on Rust book takes you inside the Linux kernel and gives you the power to reshape it. It's all about building working kernel subsystems from scratch, covering process management, memory allocation, virtual file systems, networking, device drivers, inter-process communication, and AI-powered inference, and all in Rust. When you're done, you'll have registered procfs and sysfs interfaces, written Netfilter hooks that classify packets with a neural network, constructed RAII wrappers for DMA buffers and interrupt handlers, and implemented a complete in-memory file system on the VFS layer.

Each chapter adds new source files to the same module, so by the time you get to the last chapter, your codebase has grown to various kernel subsystems. This hands-on, trainer-led approach is designed for both those new to Rust and experienced Rust developers looking to get into kernel space. You'll get the skills, patterns and confidence to write top-notch kernel code that's just as fast and safe as its C equivalent.

Key Learnings

Build and load kernel modules using Rust-for-Linux toolchain

Wrap unsafe C kernel APIs into safe RAII abstractions

Manage kernel memory through page allocation, slab caches, and memory pools

Implement custom in-memory file system on VFS layer

Write Netfilter hooks to inspect, filter, and transmit network packets

Register platform device drivers with safe MMIO and DMA wrappers

Handle hardware interrupts using trait-based handlers with automatic deregistration

Build kernel-space IPC with message queues, shared memory, and wait queues

Run fixed-point neural network inference inside kernel without floating point

Apply trait-based extensibility patterns across every kernel subsystem

Table of Content

Why Rust for Linux Kernel?

Thinking in Rust for Systems Programming

Talking to Kernel through System Calls

Managing Processes

Rust-Powered Memory Management

Building File Systems on VFS

Networking from Inside Kernel

Writing Device Drivers

Safe Inter-Process Communication

Bringing AI into Linux Kernel

More in Operating Systems

Principles of Operating Systems - Kate Summers
Windows 11 For Dummies, 2nd Edition : Windows 11 For Dummies - Alan Simpson
UNIX and Linux System Administration Handbook : 5th Edition - Ben Whaley
Theory of Fun for Game Design - Raph Koster

RRP $85.75

$68.60

20%
OFF
Microsoft Excel 365 Bible : Bible - Michael Alexander

RRP $90.95

$65.75

28%
OFF
iPad and iPad Pro For Dummies - Paul McFedries

RRP $52.95

$40.75

23%
OFF
Git : Pocket Guide : A Working Introduction - Richard Silverman

RRP $47.75

$38.20

20%
OFF
Applied Embedded Electronics : Design Essentials for Robust Systems - Jerry Twomey
Troubleshooting PCs For Dummies : For Dummies (Computer/Tech) - Dan Gookin
Linux Device Drivers : O'Reilly Software Ser. - Jonathan Corbet

RRP $104.75

$83.80

20%
OFF
Information Architecture : For the Web and Beyond : 4th Edition - Jorge Arango
Macs For Seniors For Dummies : For Dummies (Computer/Tech) - Mark L. Chambers
macOS Tahoe For Dummies : For Dummies (Computer/Tech) - Guy Hart-Davis

This product is categorised by