• Tobias Hunger@linuxrocks.online
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    @YaBoyMax @Pantherina this assumes that a C++ dev gets by without managing lifetimes. That is just not true: Mismanaging lifetimes is a bug in all languages.

    The difference is the rust compiler detects those issues and errors out, so you have to fix the issue right away. In C++ the compiler will just accept the code, so you can deal with the issue later once bug reports come in.