code
rust-blog
code | rust-blog | |
---|---|---|
3 | 63 | |
1,708 | 6,622 | |
0.0% | - | |
0.0 | 5.0 | |
about 1 year ago | about 2 months ago | |
Rust | Rust | |
- | 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.
code
-
Anything C can do Rust can do Better
🔜 Rust in Action - repo - Tim McNamara
- Looking for some small rust projects with an elegant code base that I can study.
-
My book on Rust is available on Amazon!
View on GitHub
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?
tangram - Tangram makes it easy for programmers to train, deploy, and monitor machine learning models.
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
pgx - Build Postgres Extensions with Rust! [Moved to: https://github.com/tcdi/pgrx]
fluvio - Lean and mean distributed stream processing system written in rust and web assembly.
cached - Rust cache structures and easy function memoization
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.
whatlang-rs - Natural language detection library for Rust. Try demo online: https://whatlang.org/
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
command-line-rust - Code for Command-Line Rust (O'Reilly, 2022, ISBN 9781098109417) https://learning.oreilly.com/library/view/command-line-rust/9781098109424/
mini-redis - Incomplete Redis client and server implementation using Tokio - for learning purposes only
high-assurance-rust - A free book about developing secure and robust systems software.
polonius - Defines the Rust borrow checker.