Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Exercism - Scala Exercises
Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I love the philosophy of https://rust-unofficial.github.io/too-many-lists/ which is "I should be able to X" in Rust, but, of course, as you'll find, common-wisdom in simply wrong.. But much like college; you have to prove it to yourself through hypothesis and experimentation.
I would suggest exercism.io and/or rustlings
The official Rust book ( https://doc.rust-lang.org/book/ ) is the best book even for experienced programmers. For whatever reason, even some programmers with decades of experience seem to need to “reboot” themselves due to Rust’s memory ownership model, so that means that even an “intro” book is valuable where you go from programming Hello world to number guessing programs to a multithreaded server. My suggestion is to write the examples out and try it in your environment. Get a feel for the compiler when you make mistakes. Use Visual Studio Code and Rust Analyzer ( I prefer vim but especially when learning, the VSCode and Rust Analyzer IDE combo is easy to setup and use; hooray inlay type hints).
I'd recommend this easy-rust textbook.
I had 6-8 years of experience with C++, Python, JavaScript, and Java, and had used other languages like OCaml, Clojure, and Haskell before learning Rust. But I still found the book to be the most helpful and informative way to learn Rust at the beginning, followed by some hands-on Exercism problems. After that, I built some personal projects and filled in the gaps.