Announcement

Collapse
No announcement yet.

Google Begins Allowing Rust Code For Developing Android

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

  • Google Begins Allowing Rust Code For Developing Android

    Phoronix: Google Begins Allowing Rust Code For Developing Android

    Not only is the Linux kernel moving to allow Rust code to be optionally used within the kernel, but Google is now allowing Rust code to be used for system programming work on Android's low-level operating system components too...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    I hope they write all parsers and decoders in this code. Such as Exif, ID3, etc. Saudi Arabia hacked Jeff Bezos by sending a specially crafted video file on WhatsApp.

    Comment


    • #3
      But, but "unstable ABI", "not standardized", "no gcc support", how will this work? /s

      Comment


      • #4
        Wish they picked ada

        Comment


        • #5
          Originally posted by jaypatelani View Post
          Wish they picked ada
          Ada is more than 3 times older than Rust and hasn't reach a third of Rust's adoption. There must be a reason for that.

          Comment


          • #6
            Originally posted by bug77 View Post

            Ada is more than 3 times older than Rust and hasn't reach a third of Rust's adoption. There must be a reason for that.
            Ada did not have this https://enet4.github.io/rust-tropes/...-strike-force/

            Comment


            • #7
              Originally posted by bug77 View Post

              Ada is more than 3 times older than Rust and hasn't reach a third of Rust's adoption. There must be a reason for that.
              Ada did not have this: https://enet4.github.io/rust-tropes/...-strike-force/


              Not a day goes by that I don't see some or other Rust propaganda somewhere.
              Last edited by Raka555; 07 April 2021, 11:15 AM.

              Comment


              • #8
                Originally posted by bug77 View Post

                Ada is more than 3 times older than Rust and hasn't reach a third of Rust's adoption. There must be a reason for that.
                Two big reasons I'm aware of:
                1. Ada's compilers were proprietary and expensive back in the beginning, while C compilers came free with UNIX.
                2. Ada's safety guarantees are more focused on runtime checks (eg. constraining integer variables to programmer-defined ranges), making it more a middle-ground between Rust and Go as far as the amount of runtime support code you need.
                Here's a post by an Ada user on the Rust users forum which goes into more detail.

                Having extensively used both Rust and Ada, I find it difficult to see them as overlapping or fighting for the same niche. The two languages/communities put focus on very different things:

                [...]
                Last edited by ssokolow; 07 April 2021, 11:39 AM.

                Comment


                • #9
                  Originally posted by ssokolow View Post

                  Two big reasons I'm aware of:
                  1. Ada's compilers were proprietary and expensive back in the beginning, while C compilers came free with UNIX.
                  2. Ada's safety guarantees are more focused on runtime checks (eg. constraining integer variables to programmer-defined ranges), making it more a middle-ground between Rust and Go as far as the amount of runtime support code you need.
                  Here's a post by an Ada user on the Rust users forum which goes into more detail.
                  That's what I was hinting at: if they're aimed at different "niches" and Rust's "niche" is systems programming, Ada's "niche" must be something else.

                  Not that I have anything against Ada. Every language is great if you use it for its intended purpose and a nightmare if you use it outside of that.

                  Comment


                  • #10
                    As long rust is possible to use only with cargo and meson or cmake and make do not support it natively rust is really messy to use and hard to integrate wiyth other stuff.

                    Comment

                    Working...
                    X