• Tobias Hunger
    link
    fedilink
    arrow-up
    7
    ·
    3 hours 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.

    • zygo_histo_morpheus
      link
      fedilink
      arrow-up
      1
      ·
      42 minutes 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.