Announcement

Collapse
No announcement yet.

Rust Language 0.10 Released With Big Improvements

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Version 0.10 of Rust is not out from the Mozilla community and it's a huge update.
    Not out???

    Comment


    • #3
      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.

      Comment


      • #4
        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.

        Comment


        • #5
          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.

          Comment


          • #6
            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 >.<

            Comment


            • #7
              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, 10:37 PM. Reason: add performance note

              Comment


              • #8
                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.

                Comment


                • #9
                  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".

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      Originally posted by Ericg View Post
                      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
                      There are binary nightlies for Linux, which aren't as nice as a package, but help with not having to compile it. It shouldn't be too hard to make an rpm out of it, but that's work no one has done yet

                      Comment


                      • #12
                        Originally posted by cmr~ View Post
                        There are binary nightlies for Linux, which aren't as nice as a package, but help with not having to compile it. It shouldn't be too hard to make an rpm out of it, but that's work no one has done yet
                        Thanks for the link, cmr, its better than nothing

                        Just as a point of reference, and perhaps interest to you cmr... Fedora feature request / bug report for Rust: https://bugzilla.redhat.com/show_bug.cgi?id=915043 Are the LLVM patches upstream yet? That seems to be the blocker for Fedora, and likely other distros as well.

                        Comment


                        • #13
                          Originally posted by Ericg View Post
                          Thanks for the link, cmr, its better than nothing

                          Just as a point of reference, and perhaps interest to you cmr... Fedora feature request / bug report for Rust: https://bugzilla.redhat.com/show_bug.cgi?id=915043 Are the LLVM patches upstream yet? That seems to be the blocker for Fedora, and likely other distros as well.
                          I was unaware of that bug, thanks! Two of the patches have been upstreamed in the past day or so, and someone is actively working on the rest.

                          Comment


                          • #14
                            Originally posted by Michael_S View Post
                            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.
                            I wouldn't call it "flagship" considering there're only about 5 men working on Servo directly. According to the speech given by a team member, they would expect a working prototype in 2 years, and that's an optimistic guess.

                            Comment


                            • #15
                              Originally posted by yourWife View Post
                              I wouldn't call it "flagship" considering there're only about 5 men working on Servo directly. According to the speech given by a team member, they would expect a working prototype in 2 years, and that's an optimistic guess.
                              Servo had 26 contributors in the last month (17 in the last week), and has a few full-time Mozilla people working on it, as well as a few from Samsung. It's still the largest non-rustc Rust project.

                              Comment

                              Working...
                              X