Exactly what I’m reading as we speak, thanks!

Reply to this note

Please Login to reply.

Discussion

I found various youtube vids to be helpful with like specific concepts if stuck. You'll find a buncha rust tips on youtube too. Rest you already know. Hopefully you get better answer from og Rustacean

https://youtu.be/fHz_Li7HqcI

Fine. One more frennnn. Found this young fella Let's Get Rusty to have decent vids too breaking tid bits up by example

https://youtube.com/@letsgetrusty

Yeah, I see they’re using mutable variables here...

My hopes is that I can get most things done in an immutable and functional way. Unsure of if realistic or not, that’s what I want to discover.

I guess depends what's clearest for given situation. I see what you mean. Try not to use "let mut" then only "let" 🤣 and get ready for crazy compiler errors over and over hahaha 🤗

In the video, the dudes makes the variables mutable, but to avoid concurrency problems, he ends up cloning it in every thread.

One can wonder why not just using immutable functional concepts instead. :)

Haha didn't mean to put you down the wrong path. Took a peek at my playlist from months ago.... back then everything was helpful even if a little wrong it was exposure to syntax for me. But yea, stay safe, stay immutable 😄

That’s allright, I was just discussing stuff for the pleasure of it.

Thanks for sharing!

Yes nostr friend. On nostr no matter the exchange it just helps us all get better 🤗 one way or another. I did enjoy you sharing with me. Till next time 🫡💜₿