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.
Oh completely. C is here to stay, C has surpassed language and become protocol cause of libc being so centric to Unix like languages. But it needs to be done carefully and thoughtfully. The other languages are solving some of the pain points C has which I think a lot of people would be better off using than 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)