book
nomicon
Our great sponsors
book | nomicon | |
---|---|---|
553 | 68 | |
11,802 | 1,316 | |
3.1% | 3.3% | |
9.6 | 6.3 | |
2 days ago | 12 days ago | |
Rust | CSS | |
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
-
Learn Rust using puzzle?
You might like Rustlings, which you should probably work through alongside The Book. Rustlings is an interactive learning tool that gives you pieces of Rust code that you need to fix and make compile. It's not really a challenge in the same way as Advent of Code, but it should help to learn the language. Couple that with the book, which is the standard learning resource for Rust, and you should pick up the concepts you are unsure of.
-
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/
nomicon
-
Bypassing the borrow checker with unsafe?
If you are interested in learning more about unsafe rust, read the nomicon.
-
I love rust, I have a pet peeve with the community
Have you read the nomicon? I'm not sure it fits "in between," but it's definitely not on the "BNF and little explanation" spectrum of things. But if you're coming from years of C or C++ and are totally cool with raw pointers and just want to do stuff with them, then I'd probably point you to the nomicon.
-
I wanna be a crab.
The Nomicon for learning the dark arts of unsafe rust 😳
-
How to Practice and Learn Rust for Production Level Code?
Also rust book https://doc.rust-lang.org/book/ and Rustonomicon https://doc.rust-lang.org/nomicon/ should be enough
-
Wondering if my project can be ported to rust
Because of this you should really read the Rustonomicon before you go anywhere near unsafe Rust: a lot of things can go very wrong very quickly.
-
What's everyone working on this week (6/2023)?
You should read The Rustonomicon before you use unsafe since it's essentially the unsafe guidelines and covers much more than I can here
-
Stop Comparing Rust to Old C++
Rust doesn't have similar obscure details? May I interest you with the Rustonomicon?
-
Rust from a security perspective, where is it vulnerable?
For more details on this kind of thing, you might be interested in the Rustonomicon, which is the goto guide for the details of writing unsafe Rust code.
The "Rustonomicon" is a book about unsafe code in Rust: https://doc.rust-lang.org/nomicon/
-
Red Black Tree in Rust
Getting into unsafe Rust is generally more for intermediate to advanced users, but the Rustonomicon has good information on how to do it safely: https://doc.rust-lang.org/nomicon/
What are some alternatives?
rust-by-example - Learn Rust with examples (Live code editor included)
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
solana-program-library - A collection of Solana programs maintained by Solana Labs
github-cheat-sheet - A list of cool features of Git and GitHub.
mdBook - Create book from markdown files. Like Gitbook but implemented in Rust
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
tour_of_rust - A tour of rust's language features
too-many-lists - Learn Rust by writing Entirely Too Many linked lists
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.
Theseus - Theseus is a modern OS written from scratch in Rust that explores 𝐢𝐧𝐭𝐫𝐚𝐥𝐢𝐧𝐠𝐮𝐚𝐥 𝐝𝐞𝐬𝐢𝐠𝐧: closing the semantic gap between compiler and hardware to maximally leverage the power of language safety and thus shift OS responsibilities like resource management into the compiler.
Rust-Full-Stack - Rust projects here are easy to use. There are blog posts for them also.