New to Computer Science? Read the Computer Science article
Explore the power of Rust with "Rust Projects: Write an Interpreter". This hands-on guide takes you through building an implementation of the programming language Lox, invented by Robert Nystrom. The book will follow Robert Nystrom's book and the CodeCrafters challenge "Build your own Interpreter", and at the same time will help you to understand strengths and weaknesses of Rust. Whether you're new to Rust or looking to deepen your understanding, this project-based journey offers practical, real-world insights into modern coding. The book contains 40% discount code for CodeCrafters.io!
Build a real compiler from the ground up with Rust. Follow the journey from source code to native x86-64 machine code as you design Lumina, explore optimization and register allocation and tackle the practical challenges that come with building a production-quality compiler.
Build a compiler from the machine up. Start with twelve bytes of machine code you encode by hand, and finish with a compiler whose ray tracer draws exactly what gcc's build of it draws.
Mastering Nim Programming: Build High-Performance Systems, Games, and Web Apps with Python-like Syntax and C-level SpeedYou’ve probably noticed that most programming books are either too theoretical or filled with outdated examples. When I first started learning Nim, I faced the same frustration. That’s exactly why I wrote this book—not just to teach syntax, but to turn you into a production-ready Nim developer.
Learn how to build a modern programming language from scratch in Rust. By implementing a complete language called Rune, you will explore every stage of language design, from lexing and parsing to type checking, virtual machines, LLVM code generation, and developer tooling, with practical code and clear explanations throughout.
I wrote this book to show exactly what happens when you add Rust to the kernel. Not as a toy. Not as a single driver in a conference demo. It's a full module that covers process management, memory allocation, file systems, networking, device drivers, inter-process communication, and even machine learning inference. It's all built on safe abstractions, all compiled into one loadable binary, all tested on a running kernel. You'll find that each chapter adds new source files to the same module.