this post was submitted on 18 Nov 2024
14 points (100.0% liked)
Rust Programming
8172 readers
23 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My initial motivation to learn Rust was gamedev. Ultimately, you want high performance for games, which Rust can deliver.
Another area where Rust will be pretty much unavoidable in ten years is embedded computing.
So far, pretty much everything in embedded was implemented in C/C++, because you don't have a filesystem there, so you can't use a runtime, like Python, Java et al need. Rust doesn't require a runtime either and is finally a more modern language, with much better tooling.
Well, and where Rust (or C/C++) not requiring a runtime comes in handy, too, is for writing libraries. You can use it to create libraries, which can be called from virtually any language (via the C ABI).
But yeah, as the others said, essentially anything can be implemented in Rust. Moreso than most other languages.
At $DAYJOB, we've got a distributed system with edge components and a backend, as well as a CLI and a web frontend. All of it is implemented with Rust (and some HTML+CSS). For the web frontend, we're using WebAssembly (via the Leptos framework).
That is genuinely a solid reason for us to implement this in Rust, because we only need to know one language.