Hello!
I am giving a talk at my college to introduce Rust to some people. Most of them have not used it or even heard of it, so it is aimed to cover only the basic introduction of Rust.
I would like to know your opinions on the following, so I can try and make the introduction better for them.
- What similarity/ies did you find in Rust and some other language you know ?
- What are some features of Rust you wish you had known / had more emphasis, when you started learning Rust? (good or bad)
For me, I wish I knew how expressible and powerful match expressions can be. Even though I knew match expressions, it took some time before I really grasped how much powerful and expressive they can be, combined with Enums or ranges.
I also wish I had learnt threading with a bit more emphasis, I know one of the goals of Rust is to make Secure multi-threading easier, but I wish I had seen some more examples of really how much Rust makes it simple to introduce multi-threading as well as make sure its correct/you don't shoot yourself in foot.
So, please share your thoughts if possible, in the comments.
Thank you! :)
I really wished I learned how the memory ownership worked before I started coding a transpiler (which was my first Rust project). I thought yeah, I code C++, I'm familiar with pointers, Rust shouldn't be a big deal. Then couple hundred lines in I realized how wrong I was :/