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.
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.
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
@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)