Firefox will stop using C ++ to use Rust, Mozilla's new language

I read since ExtremeTech this news 🙂

It happens that for about 5 years Rust (programming language invented by Mozilla) has been in development. And that's it Mozilla Labs has released the alpha 1 compiler of it.

The objective of all this is simple, gradually replacing code C++ by Rust, since the latter apparently optimizes memory consumption.

I leave you some details of Rust:

  • Rust it is a compiler.
  • Object-oriented programming.
  • The compiler works on Windows, Linux, and Mac.
  • It is made on existing ideas, that is ... it uses programming logic and syntax from other languages, here you can see an example of this:

use std;
fn main(args: [str]) {
std::io::println("hello world from '" + args[0] + "'!");
}

Rust has been influenced by languages ​​like Limbo y Newsqueak, but claim that they have not been influenced by language Go of Google.

I leave the website: Rust Web Site

As well as if you are more interested in this topic, you can read more details about this version 0.1: Rust 0.1 Release Notes

The fruits of this we will not see right now, I think it will be several years before we see a slightly notable better of which, it is responsibility (thanks to) Rust. I hope this does not fill the browser with bugs hahaha.

regards

en.wikipedia.org/wiki/Newsqueak


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   electron22 said

    Interesting, now this learning C ++ but object oriented crazy @ __ @

    1.    anonymous said

      I understand you, c ++ is one of the most difficult languages ​​to master, especially there are those of us who do not get fully used to its syntax

  2.   Lucas Matthias said

    If it's for the better ...

  3.   erunamoJAZZ said

    plop, I can't compile the hello world xD!

    1.    erunamoJAZZ said

      hahaha, wow, typo, it's kind of strict oo:

      hello.rc! = hello.rs

  4.   oscar said

    Because they do not agree and standardize the languages, in relation to words or instructions, design and structure. Ease of developing applications on the NETWORK, and if special functionalities have to be added, they must be modular. So you are not learning new languages ​​with fancy words. NO TO DISCOVER THE POWDER:

    1.    anonymous said

      That is the purpose of programming languages, with the passage of time they evolved to be more easily understandable, it is only a matter of time before it begins to resemble the human language, when the time comes the languages ​​will take that leap, but while we have to learn them like this, nimodo.

  5.   pancho said

    Very interesting. It only remained to know the date of publication.