• ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    4 days ago

    Because they want to replace them with more corporate-controlled languages.

    Just add @safe: after your module declaration, and you’ll be safe by default if you don’t want to wait until D3.

    Also, unlike in Rust, you can opt-out from RAII with int foo = void;, although it primarily has a performance advantage with arrays, not singleton variables (might be also useful for aquiring an RNG seed in a dumb way).