Re:Why I rewrote my Rust keyboard firmware in Zig: consisten...
by ericbarrett on Sunday March 07, 2021 @02:08PM
(#26378733)
> You now need to carry around the extra syntactic complexity and/or the extra wasted memory
This quote is from your GP post, and I read this as arguing against having the mechanism for getting this payload in the language (and hence the compiler itself), so my language was intended. Am I misunderstanding?
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten...
by coder543 on Sunday March 07, 2021 @02:11PM
(#26378753)
Ah. I think I see what you were saying now. The word “elide” has different connotations to me than the word “omit”. Zig’s omission of error context is something I agree is problematic.
(This could just be a quirk of my own vocabulary)
From the developer’s point of view, the values would always be there, just unused. The compiler would just make them disappear at compile time if unused.