One thing I’m appreciating since branching out into #rustlang and using #data.table at work is that immutable data by design is an incredibly useful simplification that reduces cognitive load and eliminates large classes of bugs in #rstats.

I can’t recommend packages that try to give users the power of mutability. While the benchmarks are seductive, you don’t gain time because of the new weird bugs and constant struggles over what parts of your API should allow mutability.

@milesmcbain Any fave rust learning resources?
@dataandme coming from R I am of course primed to treat official documentation with extreme prejudice, but ‘The Book’ has been really great. https://doc.rust-lang.org/book/
The Rust Programming Language - The Rust Programming Language

@milesmcbain @dataandme Have you tried rustlings? I started it with moderate scepticism but found that it does a really good job of harnessing the mini high you get from solving a problem, and does so without being overly restrictive too.

https://github.com/rust-lang/rustlings

GitHub - rust-lang/rustlings: :crab: Small exercises to get you used to reading and writing Rust code!

:crab: Small exercises to get you used to reading and writing Rust code! - rust-lang/rustlings

GitHub
@_wurli @dataandme I have not yet. With that endorsement I may check it out soon. I do have a well defined project I am keen to get started on using Rust though so my plan is for that to be my baptism of fire after I’ve done my reading.
@milesmcbain @dataandme No better way to learn than to find something you want to achieve, then achieving it 💫