How to Learn Modern Rust
github.com
How to Learn Modern Rust
1–10 of 67 posts
Re: How to Learn Modern Rust
#2Re: How to Learn Modern Rust
#3Is Rust old enough for there to be a 'modern' Rust?
Re: How to Learn Modern Rust
#4My approach has been considerably, uhh.. lazier, if you will:
I just read through the rust book available on http://rust-lang.org. It is easy to follow although, sometimes it doesn't fully explain the "why" behind certain things to idiots like me. For that, I turned to a quick online search, which brought up helpful blog posts, Reddit and Stack Overflow posts.
Thats it. Next, I'll try to wrap my head around Actix to create a web server.
Re: How to Learn Modern Rust
#5Is Rust old enough for there to be a 'modern' Rust?
Re: How to Learn Modern Rust
#6Is Rust old enough for there to be a 'modern' Rust?
Also, since it was released a lot of patterns have evolved to work around the restrictions the language puts in place, and those are good to learn.
Re: How to Learn Modern Rust
#7Is Rust old enough for there to be a 'modern' Rust?
Releases tend to bring some minor improvements like functions you wished had always existed or making non-const functions const, but that's pretty much it. Rust is a remarkably stable language.
Re: How to Learn Modern Rust
#8Re: How to Learn Modern Rust
#9If you are not specifically interested in super high performance systems level code, my second piece of advice would be to write code that avoids lifetime annotations until you get the basics of the borrow checker down.
For me, this meant writing a gRPC API with Rust using `tonic` with a `diesel` based persistence backend and observability with `tracing` and `opentelemetry`. This gives you a good survey of the basics and you'll learn about all of the core traits and language features in the process.