book
rust-by-example
Our great sponsors
book | rust-by-example | |
---|---|---|
551 | 61 | |
11,757 | 5,602 | |
3.1% | 2.6% | |
9.6 | 8.4 | |
5 days ago | 7 days ago | |
Rust | ||
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
book
-
I've been writing C# for nearly a decade, but I want to learn how to build programs with Rust. What do I need to change about how I structure my code?
Once you've finished with The Book and possibly Programming Rust, 2nd Edition if you've got the cash for a paid book, read Learning Rust With Entirely Too Many Linked Lists (it helps to solidify what ownership and borrowing mean for data structures) and Rust Design Patterns.
-
Fellow Rust enthusiasts: What "sucks" about Rust?
Firstly, I recommend you read the book. It explains pretty much everything you are confused about.
-
Rust VS. Go
if you want to learn, unambiguously the best resource is "The Book": https://doc.rust-lang.org/book/
-
Anyone from a Typescript/React background who tried out Rust for the 1st time?
If you choose to learn Rust, then I'd strongly recommend reading the first ~15 chapters of https://doc.rust-lang.org/book before getting stuck in to a real project. It covers most of the things you'll likely be unfamilar as TS dev (such as what the Stack and the Heap are, and how ownership semantics work).
-
Programming block?
A good starter would be https://doc.rust-lang.org/book/
-
I wanna be a crab.
The Rust Book provides a bottom up approach to learning the language. From your background, you'll probably be comfortable with a lot of things in it but it's definitely worth reading through to get insight on the unique features of Rust such as the borrow checker, lifetimes, traits, error handling, etc.
-
Introduction to WYD encryption and decryption using Rust
The Rust Programming Language book.
-
Why is Java so popular?
If you can think of a specific DS as an example, maybe Google for a Rust implementation (e.g. "red black tree in rust"). The official book is also very good: https://doc.rust-lang.org/book/
-
I give up on trying to change my career.
The Rust Book is a great free resource which I recently used to learn Rust
rust-by-example
-
Picking Up Rust Before C With My Goals In Mind?
I more or less went straight from The Book (see also Rust by Example) to Learning Rust With Entirely Too Many Linked Lists and code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care and I've often seen PNGme suggested as the next step after that.
-
How do I return a value from match construct?
Context around the "rust by example" discussion from 2015: https://github.com/rust-lang/rust-by-example/issues/390
-
From High-Level to Systems Programming: A Practical Guide to Rust, Part 2
The Rust By Example website is another helpful resource for learning Rust. It provides a series of interactive examples that demonstrate how to use various Rust features and libraries.
-
How to learn Rust (for backend) ?
The book is great and was my original introduction to the language, but rustlings or Rust By Example might be more interesting for an interactive (and more self paced) approach.
-
Learning rust
Rust by Example: Rust by Example is a collection of runnable examples that cover a wide range of Rust concepts and standard libraries. It's a great way to see how Rust code works in practice.
-
Me: "I'm going to learn rust for Advent of code!" Also me:
Some tips for Rust: I went through Rust by Example religiously, prior to AOC. This helped a lot. And then the Too Many Lists guide when I needed to build some data structures (not lists per se, but rather figuring out how to deal with ownership in dynamic lists helped to build graph structures). That guide may be less adequate now, but these days, there's cheats.rs which looks like something that I was missing when writing then.
-
Anything C can do Rust can do Better
⭐ Rust By Example - Jorge Aparicio and Steve Klabnik - repo
-
Hey Rustaceans! Got a question? Ask here! (46/2022)!
I think rust by example might fit your requirements.
-
Carefully exploring Rust as a Python developer
The best way to start is probably Rust By Example https://doc.rust-lang.org/stable/rust-by-example/ and Rustlings https://github.com/rust-lang/rustlings/ . The key is to do the exercises "the hard way" and get some familiarity with the mechanics of coding in Rust. Once you've done that, reading TRPL will make a lot more sense.
-
new to rust
In addition to the book, Rust by Example has helped me a lot, particularly a reference to look up specific concepts.
What are some alternatives?
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
solana-program-library - A collection of Solana programs maintained by Solana Labs
nomicon - The Dark Arts of Advanced and Unsafe Rust Programming
github-cheat-sheet - A list of cool features of Git and GitHub.
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
too-many-lists - Learn Rust by writing Entirely Too Many linked lists
tour_of_rust - A tour of rust's language features
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.
rust - Empowering everyone to build reliable and efficient software.
monkey - Monkey patching in Go