Cro: Maintain it With Zig
Cro: Maintain it With Zig
Posted Sep 9, 2021 23:59 UTC (Thu) by bartoc (guest, #124262)Parent article: Cro: Maintain it With Zig
I kinda like zig, but when I looked at it I became extremely concerned about just how long it was willing to defer semantic analysis of generic functions (of which there are many, due to Zig's error handling mechanism, among other things). This plays out a lot like how MSVC used to parse template function bodies (it basically didn't).
Maybe something about how the language is put together mitigates this, but it really did concern me.
Their error handling mechanism also relies on the compiler being able to assign unique IDs to errors that may well differ between compiles. I'm not sure how well this scales either. Who knows, maybe it's fine, but maybe they are just kicking the can down the road on these hard problems.
