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

  • lad@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    Down that path C may become somewhat of an intermediate representation language for binary interfaces. No one would write it by hand, and maybe for the better

    • bluGill@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      2 months 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)