this post was submitted on 04 Aug 2024
390 points (100.0% liked)

196

16442 readers
2383 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ZILtoid1991@lemmy.world 4 points 3 months ago (2 children)

Rust has its pros, but also its downs too. Since Rust is also functional, you have to mainly think with that paradigm in mind, which makes it not ideal for many situations, most notably game development.

[–] Bolt@lemmy.world 5 points 3 months ago

Rust takes a lot of inspiration from functional languages, but I wouldn't call it a functional language itself. But yeah, not suited to every application.

[–] sukhmel@programming.dev 2 points 3 months ago

Better start with this book, Rust will feel natural after that: Learn you a Haskell for the great good by Miran Lipovača

But you are right, it is better suited for one things and worse for other. It's not strictly functional, though, and most likely when it will have been maturing for as long as C++ or at least C# it will also have tools and features that make it better suited even for game development