I’ve only been coding with Python/Javascript since I started my career. I do APIs and websites frontend. I don’t really understand what is interesting in learning an other language. For example, I could learn Ruby, but I’d do the same thing I already do.

Rust, C/C++ tho seem to me to be languages to code other things. Hence my question : what do you code? If possible, make distinction between personal projects and professional projects.

  • Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    12 hours ago

    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.