News for hackers. Stuff that matters.

Ask HN: How do I learn to write good modern Rust code?

I am coming from a C++/Python background and want to shake the shackles of their associated paradigms when writing Rust.

I’m particularly interested in finding good codebases to study or problems to solve that are natural fits for the Rust language.

Also, what resources should I avoid?

Thanks!

( 2 comments | 18 points | on HN )
Re:Ask HN: How do I learn to write good modern Rust code? by jstx1 on Friday February 04, 2022 @04:29AM (#30204627)
I think jumping straight into a codebase won't get you very far with Rust.

Why not start with the book - https://doc.rust-lang.org/book/ - or Programming Rust (https://learning.oreilly.com/library/view/programming-rust-2...) ?

Re:Ask HN: How do I learn to write good modern Rust code? by temny on Friday February 04, 2022 @03:23PM (#30212541)