DEV Community

loading...

Discussion on: Explain Rust like I'm five

Collapse
eljayadobe profile image
Eljay-Adobe

Rust is a relatively young language. It is sponsored by Mozilla, so has solid backing.

I think it is fair to say that Rust is a "better C++ than C++". At least that's their goal as I see it.

C++ folks would rightly point out that C++ is enormously popular, has many resources available, and a very vibrant community and large ecosystem. And C++ is evolving, too.

Rust is object-oriented, with a very strong ownership model, and a strong concurrency story.

If you were doing systems programming, it is worth considering as an alternative to C, C++ or D.

If you are doing applications programming, then that depends on your platform.

For example, a .NET or Mono environment is best served by using C#, VB.NET, or F#. An iOS or macOS environment is best served by using Swift or Objective-C. Android environment is best served using Java, Groovy, Scala, or Clojure. And a Win32 environment is best served using C++.

Using a non-premier language for those environments would entail extra work to bridge to the platform's APIs.

In time, there will very likely be high quality Rust toolkits that have done all the hard work to interoperate with those various platforms.

I'm not sure what you mean by "earn lots of money" in this context.

If you mean finding an employer who will pay you for your Rust skills, then I would say that there is higher demand for other skills.

If you mean writing an application and selling it, then that would depend on the application much more so than the language it is written in.

If you mean learning Rust helps you be a better software developer because it teaches you new concepts, which is a virtuous cycle helping you have more earning potential, then yes. Same applies with other computer languages. F#, Haskell, Scala, Clojure, D, Lua, Python... the list is vast.

I use resources like TIOBE and StackOverflow's Developer Survey to see what languages have a lot of interest.