Zig vs Rust. Which one is going to be future?

I think about pros and cons and what to choose for the second (modern) language in addition to C.

@programming@programming.dev

  • bluGill@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    @sukhmel@programming.dev

    @programming@programming.dev @modev@snac.bsd.cafe @TehPers@beehaw.org @slacktoid@lemmy.ml C is a terrible binary interface. It doesn’t say who owns a pointer, or what to call to destroy it. It doesn’t normally provide buffer length (even when it does there is no reason to trust it)