Rust and multi-paradighm | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Rust and multi-paradighm

Did you ever use Rust? Do you believe this Mozilla Research invention can have a future?

25th Sep 2019, 5:06 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
3 Answers
+ 4
Interestingly Rust is already used by many leading tech companies like Google, Microsoft etc. though the language is still relatively young and changing/improving quite fast. Google even prefers is over it's own language Go on many cases. And after using Rust only a little bit I can tell you many reasons why Rust is a awesome language and why it was the most loved programming language (in the Stackoverflow dev survey) over the past years. To make it short: Rust is easy to set up, does prevent a lot of bugs, has a very helpful compiler, incredible speed and still feels much more like a high level language despite its rather a low level under the hood. I think Rust will become more popular and maybe replace other languages over time, simply because it makes many, many things better than other languages :)
27th Sep 2019, 8:38 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 3
Just because somebody liked, I’m going to continue. Your title, in question of paradigms, was not answered in my previous question. Rust is functional, and there is big debate in the community as to if it is object oriented or not. In my opinion, it is. You have everything that can be done in object oriented programming languages, excluding inheritance which can still technically be done with traits. Traits are similiar to interfaces in languages such as C#, Java or Kotlin except way more powerful. You can achieve object oriented programming with the use of **Traits** + **Structs** + **Implementation Blocks**. The language is heavily influenced by Haskell and C/C++. Now expanding on what I spoke about above, Microsoft is developing as we speak WinRT, a windows programming library for Rust which can be viewed on their official Github. There is many blogs out there, some from Microsoft, speaking about it and showing demonstrations. This is something I am really excited about actually.
8th May 2020, 8:17 PM
s.f
+ 2
Rust is a great language. Microsoft has favoured it over C/C++ for the future. Rust also has the happiest community according to a StackOverflow survey. It is great for lower level tasks such as operating systems, kernels (monolithic and micro), drivers et cetera. It is popular because it gives you more control, more speed, and more safety, and safety is not something seen in C/C++. I myself have never used it for web development, but you can with WASM (Web Assembly).
27th Apr 2020, 10:51 AM
s.f