Rust With Jason

Welcome to Rust With Jason, the simplified guide to learning Rust, the modern systems programming language that's taking the software world by storm.

Rust With Jason Cover

Discover the power of Rust - your ultimate guide for modern programming

Whether you're an experienced developer looking to expand your language set or a beginner eager to dive into the world of systems programming, this book is designed to equip you with the knowledge and practical skills you need.

Learn core language features

Rust is known for its emphasis on safety, speed, and concurrency – qualities that are indispensable in today's software development landscape. In this comprehensive first book, you'll explore the core concepts of Rust, from basic syntax and data types to more advanced topics like ownership, lifetimes, and concurrency. Each chapter is packed with clear explanations, practical examples, and hands-on exercises to reinforce your learning and build your confidence.

Beyond the basics

This book goes beyond the basics, delving into the powerful features that make Rust stand out. You'll learn how to leverage Rust's unique ownership system to write safe and efficient code, how to work with traits and generics for flexible and reusable components, and how to manage concurrency with ease using Rust's robust tools. The book also covers essential topics like error handling, testing, and building your Rust applications for maintainability.

Simple prose with practical examples

This has been written with one goal in mind: to get you building real things, as fast as possible. You won’t find long-winded theory or academic detours. Instead, you’ll get clear explanations paired with practical, real-world examples that help Rust click.

What we'll build

Throughout this text you'll build different constructs from modeling digital ad performance, representing financial asset behavior, and building blazing-fast components for a Next.js app using WebAssembly. Though these are toy examples—they’re the kind of work Rust excels at in the real world.

Every concept you learn—variables, ownership, structs, enums—is applied in a small, meaningful code example. You'll get to write the code, test it, improve it, and see the results in action. As the book progresses, so will your confidence and ability to ship real Rust.

By keeping the prose simple and the examples grounded, this book helps you stay focused on what matters: learning Rust by doing.

Build while you read

By the end of this journey, you'll not only have a deep understanding of Rust's capabilities but also the ability to apply your knowledge to real-world projects. Whether you're building web applications, developing low-level systems software, or exploring new programming paradigms, Rust With Jason will be your trusted companion on this exciting adventure.

Are you read to join the growing community of Rustaceans and unlock the full potential of Rust? Read on to start crafting robust, reliable, and high-performance software!

Core language components

Variables, statements and expressions

Learn the normal programming constructs of the Rust language.

Read more

Ownership

Understand the most unique feature of Rust: ownership (and borrowing).

Read more

Structs

Using structs, define custom types with named fields to organize your code.

Read more

Enums and pattern matching

Define custom types with enums and use pattern matching to destructure them.

Read more

Resources

The Rust Programming Language

By Steve Klabnik, Carol Nichols, and Chris Krycho, with contributions from the Rust Community, the official guide to learning Rust

Rust by Example

Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries.

Exercism

An online platform with a variety of programming exercises in Rust and over 50 other programming languages.

Let's Get Rusty

A YouTube channel that covers basic and advanced tutorials, Rust language web projects, Rust language frameworks, and much more!

Testimonials

"The most remarkable book on Rust ever written." - Anonymous

"Like a cupcake but better. And there's icing on top, too." - Discrete Rustacean

"A new paradigm in learn-how-to-do-it with Rust." - Software engineer in tech

Was this page helpful?