2 ms·
I think Rust shines anywhere performance and correctness are critical. Some examples - infra projects. - Resource constrained environment (depends on the hard
by nindalf 4y ago
I think Rust shines anywhere performance and correctness are critical. Some examples
- infra projects.
- Resource constrained environment (depends on the hardware)
- Command line program
- WebAssembly for a complicated webapp (like Figma)
- Anywhere security is a concern
Whereas a web service that reads from a database and supports some CRUD operations? Many languages specialise in this problem. If the business domain is complicated and needs a good type system to express that domain - yeah maybe Rust is a good fit. But you're probably better off with Python or Ruby or Go. I could revisit this opinion in a couple of years if the Rust ergonomics initiatives succeed.
Video games - it's very early days for Rust. There's a lot of ongoing work (like Bevy) that could bear fruit in a couple of years but C++ is much better today.