Announcement

Collapse
No announcement yet.

Google Engineers Lift The Lid On Carbon - A Hopeful Successor To C++

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

  • Google Engineers Lift The Lid On Carbon - A Hopeful Successor To C++

    Phoronix: Google Engineers Lift The Lid On Carbon - A Hopeful Successor To C++

    In addition to Dart, Golang, and being involved with other programming language initiatives over the years, their latest effort that was made public on Tuesday is Carbon. The Carbon programming language hopes to be the gradual successor to C++ and makes for an easy transition path moving forward...

    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
    HERE WE GO AGAIN!

    I think we need to start addressing the concept of cognitive pollution, that you can make too many ideas and technologies that, because of their abundance, actually stifle the industry rather than propel it. And Google pollutes in this sense like China pollute in the traditional one.

    Comment


    • #3
      Can FFI from a higher level language be done similar to C and Rust? C++ mangling makes this excruciating. If not, I don't really want to see it gain traction.

      Comment


      • #4
        Dart: failed. Golang: failed (since now there's Carbon). Carbon: failure to be shown, but I'm sure it'll come.

        Comment


        • #5
          I'm giving 5-to-1 odds that at the 9 month mark that this project will be dead, and at the 18 month mark, Google will be like "...what is this Carbon language thing that those 2 guys over there in the coffee shop keep talking about?". Just to gamble more, we can use a bitcoin exchange of your choosing to hold the escrow.

          Comment


          • #6
            Originally posted by uxmkt View Post
            Dart: failed. Golang: failed (since now there's Carbon). Carbon: failure to be shown, but I'm sure it'll come.
            They explicitly say "don't use this, use rust instead if you can." It's for people who apparently have massive C++ codebases they can't get away from but would still like to feel safe(ish) writing new code. That said, it doesn't support borrow checking (or even can) so I'm really skeptical that this brings any meaningful improvment.

            Comment


            • #7
              Originally posted by tsuru View Post
              Can FFI from a higher level language be done similar to C and Rust? C++ mangling makes this excruciating. If not, I don't really want to see it gain traction.
              check out the autocxx crate.

              Comment


              • #8
                Probably just a bit more sugar on the syntax without solving any real problem, like most of the languages that are coming out.

                Comment


                • #9
                  There are languages people bitch about, and languages nobody uses. ( see https://www.tiobe.com/tiobe-index/)
                  Seems Carbon's gonna be popular

                  Even if its just a cleaned up C++ not dragged down with forever ABI compatibility its gonna be worth it. But given that Chandler Carruth is involved, it could turn out really good.

                  Comment


                  • #10
                    So this is more like a fresh (go-like?) syntax for C++ rather than a completely new language? It certainly looks boring (which might or might not be a gt thing). But I guess if you're stuck with C++ it could be nice, like for writing UIs using Qt. Maybe even as bridge to write bindings for other languages. Maybe?

                    Comment

                    Working...
                    X