@lunathemoongirl I am generally a fan of the explicitness, but one area it can be annoying is with math. No operator overloading means geometric vector math is function/method calls. On the plus side, math is checked for overflow/underflow by default and zig has separate operators for wrapping and saturating arithmetic; I don't use them every day but it is quite handy when you do need them.
desttinghim@gamedev.lgbt
@desttinghim@gamedev.lgbt
Posts
-
How is Zig? -
How is Zig?@lunathemoongirl I'm a big fan of zig and have written quite a bit of code in it. Big changes are still happening in the standard library and language. The next major release (0.16.0) will introduce a new Io & async API, and the current release (0.15.2) introduced a streaming reader/writer api.
I would say Zig feels like a modern version of C, with many of the jagged edges rounded off. Precision, verbosity, and explicitness are preferred over brevity and convenience.