A Quick Guide to the Rust Programming Language

Golden Member
Joined
May 24, 2024
Messages
264
Reaction score
526
Points
43

Learn the Core Concepts and Essential Grammar of the Rust Programming Language in One Book!

This book is a mini language reference on the Rust programming language. We go through all essential features of Rust 2021 Edition (and some newer language features) in this book. Rust is one of the most powerful languages, originally created for low-level systems programming. Rust is now widely used in other areas as well, such as Web application and Web Assembly development. Rust is, in fact, one of the most popular/loved languages among developers. (And yet, it is one of the most difficult programming languages to learn.)

This book is specifically written for
Experienced programmers who are relatively new to Rust and want to get a broad and high-level picture of the Rust language, or
Beginning Rust programmers who have some real hands-on experience with Rust and want to learn various fundamental concepts in idiomatic Rust programming.

That is, if you have some prior experience with Rust or other similar languages like C/C++ or OCaml/Haskell, etc., then this book is for you. This book is, however, ultimately a language reference (as in "syntax and semantics"), and it is not intended for complete beginners.

The book covers
Rust crates. Modules.
Rust program items.
Names and variables.
Copy vs move.
Ownership and borrowing.
Blocks, scopes, lifetimes.
Types, traits, generics.
Special types, special traits.
Expressions. Statements.
Functions. Closures.
Pattern matching. If-let, Let-else, While-let.
Error handling. Options and Results.
Common macros.
Builtin attributes.

To see this hidden content, you must reply and react with one of the following reactions : Like, Love, Haha, Wow
 
Reactions: yduhgas and AdamWalton
Active Member
Joined
June 5, 2024
Messages
94
Reaction score
2
Points
8
nice
 

User Who Replied This Thread (Total Members: 2) Show all

  • Tags
    guide programming quick