New to Rust? Read the Rust article
Take your Rust programming skills to the next level! Explore generics, traits, closures, smart pointers, concurrency, Unsafe Rust, web development, asynchronous programming, databases, testing, and performance optimization. This advanced volume guides Rust programmers toward building efficient, scalable, and reliable real-world applications.
Discover the power of Rust programming! Learn the Rust toolchain, variables, functions, ownership, borrowing, lifetimes, collections, error handling, structs, and enums. This practical first volume builds a strong foundation in memory-safe and modern systems programming for students, beginners, and software developers.
Explore the power of Rust with "Rust Projects: Write a Redis Clone". This hands-on guide takes you through building a Redis-inspired database from the ground up, introducing key programming concepts like TCP connections, the RESP protocol, and concurrency. Following the CodeCrafters challenge, this book gradually builds your skills, making complex topics accessible. Whether you're new to Rust or looking to deepen your understanding, this project-based journey offers practical, real-world insights into modern systems programming. The book contains 40% discount code for CodeCrafters.io!
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!
We've put together this third edition, and it's the most hands-on version of the journey so far.You don't need to be a Rust expert to get started. If you know some statistics and have written a little code in any language, you already have what this book asks of you. We'll take our time with Rust, especially when it comes to ownership and borrowing, because these concepts are worth the effort. Whenever a library does something unexpected, I'll show you the surprise instead of hiding it.
Go past "it compiles": newtypes, typestate, GATs, unsafe and FFI, Tokio, Axum, Tonic, sqlx, fuzzing, supply-chain security, and a full service from design to deployment.
Loco is the Rust framework that feels like Laravel: generators, models, migrations, workers, mailers, a scheduler. This book builds a complete blog with it, one step at a time, and every step is a git tag you can check out.
You know Laravel inside out. Rust keeps showing up in your timeline. This book teaches Rust through what you already know: every concept starts from the PHP you'd write, then shows the Rust, then explains why it's different.
Go beyond Rust fundamentals. Learn to design, build, test, and ship reliable command-line applications through practical examples and four complete capstone projects.
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.
We will work in pure Rust, with no C++ shim or Python wrapper. We will build one small program that grows to cover the whole book. It begins as a loop that any of us could have written on a bad day. After gaining a kernel, it learns to stop waiting, grows streams and pinned memory, and ends as a pipeline fed by parallel producers through bounded channels. The device is busy almost every millisecond.
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.
Learn to write nginx modules in Rust by building a statistics module that counts requests across workers in shared memory and exposes them as Prometheus metrics.
Design, Engineer, and Deploy High-Performance Algorithmic Trading Infrastructure for Digital Asset MarketsCryptocurrency markets operate continuously, generating vast streams of market data across centralized and decentralized exchanges. Competing in these markets requires far more than a collection of trading scripts. It demands a rigorous combination of low-latency systems engineering, quantitative modeling, market microstructure analysis, distributed computing, machine learning, and production-grade risk management...