Some Thoughts on Zig
I liked the article, and as an outsider to the discussion (I do embedded C for a living, and C++ as in &quot;C with classes&quot;) I might add:<p>What I&#x27;ve seen so far is that Rust tries to lure C developers with a sort-of &quot;memory-management shaming&quot;. I&#x27;ve even been called &quot;old curmudgeon&quot; here in HN for not showing interest in Rust, and not using it right now. I think if hear one more time that &quot;70% of bugs are memory bugs; here is the link&quot; I&#x27;m going to explode. For which I answer: &quot;My applications have a button and a display, what exploits are you talking about?&quot;.<p><i>Spoiler alert: &quot;memory-management shaming&quot; doesn&#x27;t stick with us</i>. C is vast and has tens of millions of applications. Not every project is wired to Ethernet, BT or WiFi. If there is a bug, it might be hard to find, but that&#x27;s it. Hey, there is people that even pays you to solve problems you&#x27;ve generated yourself. What&#x27;s better than that?<p>Luring C developers is about something else and Rust doesn&#x27;t get it yet. At the same time Rust tries also to lure millions of high-level languages developers with features like async-await, super clever one-liners, package management, etc., which personally as a C developer, I don&#x27;t really care.<p><i>You can&#x27;t make everybody happy. Make happy either C developers or JS developers. Pick one.</i><p>Another note: even if the language it&#x27;s been there for a while, I often see &quot;hey! I&#x27;ve built a build-essentials replacement! It only works like the 20% of it&quot;. You go to see the repo and it&#x27;s been idling for the last 6 months.<p><i>So even the Rust&#x27;s momentum is already starting to decay, there are really just a few of top &quot;99% complete&quot; reference projects</i>. What does it means?<p>Zig on the other side, shows itself as a more humble language, with simpler syntax. I don&#x27;t really like the syntax but it&#x27;s not a big deal. Zig has, or at least, it users don&#x27;t show bigger expectations. It&#x27;s taking a careful and slow road and I like that very much.<p>That said I&#x27;m following both languages very closely. I only hope Zig doesn&#x27;t become as bloated as C++ and Rust today, to be really in that sweet spot I&#x27;d like for embedded.