• zygo_histo_morpheus@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    9 days 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@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      7 days 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.