News for hackers. Stuff that matters.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by jiofih on Sunday March 07, 2021 @08:20AM (#26375639)
Your points are in stark contrast to the reality of the article. The Rust code produced is the one you have to be “on your toes” with due to unnecessary complexity, while Zig, despite the compile time features, is completely straightforward to understand. Maybe a second reading is due.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by stevenhuang on Sunday March 07, 2021 @10:35PM (#26382086)
Agreed. Of note is that the compile time features of Zig works towards Rust's goal of zero cost abstractions as well.