Is Rust programming language more powerful than C and C++ ?


The Rust computer development language is becoming more and more powerful and seduces firms like Microsoft, Amazon… Faced with its gradual rise, the C++ and C coding systems may soon come to an end. The language created by Mozilla is now appreciated for reasons related to reliability and security.

The Rust programming language is gradually gaining notoriety at the expense of C++ or C. Microsoft Azure engineers have used it to build cloud instruments for experimenting with WebAssembly modules in K8s. Amazon Web Services, Amazon’s cloud subsidiary, is also investing in Rust for infrastructure software.

For years to come, Rust’s popularity could continue to climb. A possibility that computer freelancers should be prepared. As a reminder, this arrangement refers to the form of employment of self-employed workers. It allows them to free themselves from hierarchical pressure, to benefit from freedom in terms of organization, autonomy, etc.

Rust is on track to replace C++ and C in some projects

For future development projects, Rust should be used instead of C++ or C. That’s what Microsoft Azure CTO Mark Russinovich thinks. He believes that this language designed by Mozilla Research provides more reliability and security .

The expert nevertheless expressed a reservation to this opinion. According to him, Rust seems superior to C++ and C for new projects requiring a non-garbage-collected (non-GC) language. Mark Russinovich states:

Speaking of languages, it’s time to stop starting any new project in C/C++ and use Rust for scenarios where a GC-free language is needed. For safety and reliability reasons, the industry should declare these languages deprecated.

The leader believes that Rust presents itself as an ideal successor to C++ and C. This is especially true for the programming of embedded software, of infrastructure projects, development at the level of A status that is not, however, valid in all projects or everywhere .

Rust presents memory security guarantees

Rust is recently used in the Linux kernel, in the AOSP project (Android Open Source Project), etc. This language is currently popular with many people because of its guarantees of memory protection. This makes it possible to reduce the need to control the memory of a software by human intervention. This asset also reduces the risk of security breaches related to memory. A threat to which large projects coded in C++ or C (Windows, the Linux kernel, Android, Chrome) are exposed. These two writing systems are considered as insufficiently secure for memory .

Microsoft pointed out this flaw three years earlier after making a breakthrough discovery. 70% of its patches during the last 12 years were memory security bug fixes, he found. This problem was largely due to the fact that its operating system is primarily based on C++ and C. At Google, the team responsible for developing Chrome delivered its own conclusions two years earlier. According to them, 70% of critical security bugs in the browser code base represented bugs :

  • Of memory security ;
  • Management.

The program is mainly based on the C++ language.

Share On Social Media