• CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    17 hours ago

    In the end we inplemented NoTaD pointers (“notified on target destruction”, essentially weak pointers but this was back in the day when weak pointers and smart pointers weren’t really well defined) that would discover when the thing they took a precious pointer to was actually no longer valid.

    It’s weird to me that programming practice has changed that much in 20 years. That’s still closer to today than to Dennis Richie doing his thing.