Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Rust Language 0.10 Released With Big Improvements

  1. #1
    Join Date
    Jan 2007
    Posts
    15,133

    Default Rust Language 0.10 Released With Big Improvements

    Phoronix: Rust Language 0.10 Released With Big Improvements

    Version 0.10 of Rust is not out from the Mozilla community and it's a huge update...

    http://www.phoronix.com/vr.php?view=MTY1NDI

  2. #2
    Join Date
    Dec 2008
    Posts
    150

    Default

    Version 0.10 of Rust is not out from the Mozilla community and it's a huge update.
    Not out???

  3. #3
    Join Date
    Jul 2013
    Posts
    398

    Default

    Quote Originally Posted by jwilliams View Post
    Not out???
    I think he meant "is now out".
    The site lists 0.10.0 as the latest "stable" version as well.

  4. #4
    Join Date
    Dec 2008
    Posts
    150

    Default

    Quote Originally Posted by Daktyl198 View Post
    I think he meant "is now out".
    Ah, I thought it was a new trick to get more articles. Every day he could have an article about some software that was NOT yet out.

  5. #5
    Join Date
    Aug 2011
    Posts
    63

    Default

    Quote Originally Posted by jwilliams View Post
    Ah, I thought it was a new trick to get more articles. Every day he could have an article about some software that was NOT yet out.
    I thought the same thing. Cool.

    One thing that surprised me about Mozilla and Rust - the flagship Rust project is the "Servo" browser. The last time I tried to compile it, it involved tons of C and C++ code. I thought the plan was for the great bulk of the code to be Rust and other languages only used when required to interface with external libraries.

  6. #6
    Join Date
    Jul 2013
    Posts
    398

    Default

    Quote Originally Posted by Michael_S View Post
    I thought the same thing. Cool.

    One thing that surprised me about Mozilla and Rust - the flagship Rust project is the "Servo" browser. The last time I tried to compile it, it involved tons of C and C++ code. I thought the plan was for the great bulk of the code to be Rust and other languages only used when required to interface with external libraries.
    According to the GitHub stats:
    62.1% of the code is Rust
    33.6% is Python
    2.3% is C++
    1.6% is C
    and 0.4% is "Other"

    The C++ and C are most likely libs or other pieces that just aren't implemented in Rust yet, and/or are there for performance reasons.
    The Python is highly confusing to me though... that could warrant an explanation >.<

  7. #7
    Join Date
    Dec 2012
    Posts
    38

    Default

    Quote Originally Posted by Daktyl198 View Post
    According to the GitHub stats:
    62.1% of the code is Rust
    33.6% is Python
    2.3% is C++
    1.6% is C
    and 0.4% is "Other"

    The C++ and C are most likely libs or other pieces that just aren't implemented in Rust yet, and/or are there for performance reasons.
    The Python is highly confusing to me though... that could warrant an explanation >.<
    A large part of Servo is generated DOM bindings (from WebIDL), and that generating is done by some Python scripts. Most of the Python is tests for that generator. Anyway, GitHub's language counter doesn't count submodules. Unsurprisingly, a lot of the submodules are bindings to existing C (and sometimes C++) libraries. For example, there's no pure-Rust libpng replacement (although there is a work-in-progress, https://github.com/cmr/TEMP-rust-png, that's actually on-par with libpng's decode performance).

    EDIT: Also, we don't believe in writing C or C++ for performance, since Rust can perform just as well as either of them. If it can't in a particular situation, that's a bug in Rust that needs fixing.
    Last edited by cmr~; 04-03-2014 at 10:37 PM. Reason: add performance note

  8. #8
    Join Date
    Aug 2011
    Posts
    63

    Default

    Quote Originally Posted by cmr~ View Post
    A large part of Servo is generated DOM bindings (from WebIDL), and that generating is done by some Python scripts. Most of the Python is tests for that generator. Anyway, GitHub's language counter doesn't count submodules. Unsurprisingly, a lot of the submodules are bindings to existing C (and sometimes C++) libraries. For example, there's no pure-Rust libpng replacement (although there is a work-in-progress, https://github.com/cmr/TEMP-rust-png, that's actually on-par with libpng's decode performance).

    EDIT: Also, we don't believe in writing C or C++ for performance, since Rust can perform just as well as either of them. If it can't in a particular situation, that's a bug in Rust that needs fixing.
    Thanks for the information. I hope Mozilla in general, and Rust and Servo in particular do well.

  9. #9
    Join Date
    Jan 2011
    Posts
    163

    Default

    Quote Originally Posted by Daktyl198 View Post
    The site lists 0.10.0 as the latest "stable" version as well.
    It also says that "Rust is a work-in-progress and may do anything it likes up to and including eating your laundry".

  10. #10
    Join Date
    Aug 2012
    Location
    Pennsylvania, United States
    Posts
    1,911

    Default

    Quote Originally Posted by randomizer View Post
    It also says that "Rust is a work-in-progress and may do anything it likes up to and including eating your laundry".
    Well yeah, its a 0.10 of a language lol. I just wish it was prepackaged in Fedora to play around with because I'm really interested by this

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •