• ThunderComplex@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 hours ago

    That was a good read. As a certified Rust lover and C++ hater I totally agree with the premise “Missing the Forest for the Safety Trees”.
    And having recently picked up Odin I think it’s fair to say that maybe does go a bit overboard with memory safety. C++ and Rust feel like the extreme ends of the memory safety spectrum. Reading Ginger Bill’s take on the billion dollar mistake and how he tackles it I think there’s definitely room for improvement in future languages.

    I’m just confused by one thing: The author claims C++ has good ABI stability and that “C++ still holds the binary ABI crown”, but I was under the impression C++ doesn’t have a good ABI, which is why a lot of people still write C or wrap their C++ in extern “C”?