DEV Community

loading...

Discussion on: My favorite feature in Rust

Collapse
himujjal profile image
Himujjal Upadhyaya

Immutability by default is a great thing. It solves thousands of problems.

I like Rust but there are huge problems. But I still couldn't get my head around circular dependencies and types. Somehow Rust started to look stupid to me when I was doing some really complex circular dependencies. C#, Java, even C++ have them really well. In Rust I started to feel like I had to remember each and every declaration of my structs and their members. This brought productivity down to zero. It didnt make sense anymore to use Rust. rust-unofficial.github.io/too-many... is a good example to exemplify this point.

Rust has one of the best communities around though. I have never seen human beings working with such unison to push an initiative (Rust) forward.

Also, I am working with microcontrollers these days. I dont see why I should ever use Rust there instead of C. Immutability is expensive there. It comes at a cost.

I would really love to hear from you if you think I am thinking/coding in the wrong direction.

Collapse
winstonpuckett profile image
Winston Puckett Author

I'll have to look out for that as I'm learning more about rust :)

Collapse
himujjal profile image
Himujjal Upadhyaya

Cool. Its a good language. Taught me a lot about programming. I just didnt feel like a good fit for me. I somehow prefer Nim.

Anyways, once you make a project in Rust or you are stuck somewhere, do go through this small book:
rust-unofficial.github.io/too-many... . Its just awesome.