Rustlings
rust-blog
Our great sponsors
Rustlings | rust-blog | |
---|---|---|
289 | 63 | |
49,167 | 6,608 | |
3.8% | - | |
9.3 | 5.0 | |
6 days ago | about 2 months ago | |
Rust | Rust | |
MIT License | 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.
Rustlings
-
GPUI 2 is now in production – Zed
Zed is great, have been using it to do the Rustlings exercises and learn Rust:
https://github.com/rust-lang/rustlings
If you've been looking for an excuse to learn Rust, check it out.
- I'm looking for practical Rust exercises
-
Avoid nested matches
Doing the rustlings conversions/from_into task which asks
-
Rustlings is the greatest thing ever
However, I stumbled across Tauri (as a replacement for Electron), and installed Rust just to get Tauri to work. A few days later, I installed Rustlings (https://github.com/rust-lang/rustlings) on a whim, and did the first exercise.
- CodeCrafters CEO adds his paid service as a next step after finishing Rustlings
-
Learning Zig
Rust also has something similar which is where I believe Zig drew inspiration from as well: https://github.com/rust-lang/rustlings
-
Bevy XPBD: A physics engine for the Bevy game engine
Rustlings gives a great introduction to the language:
https://github.com/rust-lang/rustlings
Disclaimer: I write JavaScript
- Learning Rust Recommendations?
-
Hi I’m a total newbie to programming but wants to learn rust as a first language.
Consider solving puzzles and exercises from rustlings and / or try the Rust track at exercism which I found very valuable.
-
Reached a new benchmark today, completed 1000 problems
Rustlings(for learning by doing): https://github.com/rust-lang/rustlings
rust-blog
- Common Rust Lifetime Misconceptions
-
What are some good resources for experienced programmers new to Rust to learn about lifetimes?
Hands down the best resource (after you've had sufficient experience with Rust, especially so) - https://github.com/pretzelhammer/rust-blog/blob/master/posts/common-rust-lifetime-misconceptions.md
-
How can a parameter type `T` be not long living enough?
I really really recommend reading this to understand lifetimes and generics in Rust better.
- What learning resource has had the greatest impact in elevating your understanding and knowledge of Rust?
- I do not understand why Sized bound prevents a trait from being used as a trait object.
-
Lifetime annotations: why doesn't Rust?
It's already now that the elided lifetimes are not always correct, as pointed out in Common Rust Lifetime Misconceptions (No 5) by pretzelhammer.
-
Anything C can do Rust can do Better
Common Rust Lifetime Misconceptions - kirill
-
Resources on Lifetimes
Probably a bit more advanced than what you asked about, but still possibly useful: Common Rust Lifetime Misconceptions by /u/pretzelhammer.
-
Borrow checker puzzles
This helped me a lot understanding Rust ownership rules and lifetimes: https://github.com/pretzelhammer/rust-blog/blob/master/posts/common-rust-lifetime-misconceptions.md
What are some alternatives?
rust-koans - Koans for the Rust programming language
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
rust-by-example - Learn Rust with examples (Live code editor included)
fluvio - Lean and mean distributed stream processing system written in rust and web assembly.
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
static-analysis - ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.
book - The Rust Programming Language
mini-redis - Incomplete Redis client and server implementation using Tokio - for learning purposes only
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
polonius - Defines the Rust borrow checker.
rust-by-practice - Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.
ggegui - A simple implementation of egui for ggez