• Tobias Hunger
    link
    fedilink
    292 months ago

    Read the proposal: Lifetimes annotations, the rust standard library (incl. basic types like Vec, ARc, …), first class tuples, pattern matching, destructive moves, unsafe, it is all in there.

    The proposal is really to bolt on Rust to the side of C++, with all the compatibility problems that brings by necessity.

    • Traister101
      link
      fedilink
      102 months ago

      Gonna need to start calling it C++++ at this point. So much extra shit in the standard library

      • bruhduh
        link
        132 months ago

        C# be like, am i a joke to you?

        • Ephera
          link
          fedilink
          142 months ago

          I’m not sure, C# wants to hear the response to this…

      • @[email protected]
        link
        fedilink
        62 months ago

        Honestly, i prefer that over minimal standard libraries where you need dotzens of changing depencies for the simplest stuff.

        • Traister101
          link
          fedilink
          62 months ago

          Nah standard libraries are great but C++ has a lot of… cruft. Maybe don’t plonk a lot of Rust in there despite all the positives

    • @[email protected]
      link
      fedilink
      72 months ago

      Ah ok just read the article and not the proposal. I’m surprised that they went that far but as I wrote I think that lifetime annotations are a good idea, hope the C++ people find a way to add them to the language that actually works well, which sounds like an incredibly difficult task.

      • Tobias Hunger
        link
        fedilink
        12 months ago

        “They” did not go anywhere yet. This is a proposal, nothing more. It will take serious discussions over years to get this into C++.

        Prominent figures already said they prefer safety profiles as a less intrusive and more C++ approach at conferences It will be fun to watch this and the other safety proposals going forward.