Zig, Skia, Clojure, Geometry and the Japanese TV Show: ICFP Contest 2021
I want to like Zig, but I also want operator overloading because multiplying matrices together in chains of functions is among the ugliest code I&#x27;ve ever had to look at. There have been more than a couple decent suggestions for making it clean and obvious, but there are a few things that Andrew isn&#x27;t willing to budge on.<p>&gt; defer is pure genious<p>Being able to defer for resource cleanup is nice. I like that Zig makes it a priority to make things adaptable (not sure that&#x27;s the right word). For example, everything in the std lib that allocates, takes an allocator object, so if you want to implement a custom allocator, it&#x27;s very simple to use. If you want to use a custom event loop for async, it&#x27;s easy to substitute. All in all, I think its shaping up to be a nice language, just not for me.