3 ms·
I love Zig, but anytype and the typed GenericWriters are a horrible mess. It is such a pain in the ass.
by sweeter 2y ago
I love Zig, but anytype and the typed GenericWriters are a horrible mess. It is such a pain in the ass.
- throwawaymaths 2y agoAllocators were a mess too before they cleaned it up. It's entirely possible writers will go a similar way (though the type erasure does scare some people). I can't claim to know what's in the team's heads, but it seems the language is very much more stable compared to before, but the stdlib is generally up for grabs for quakes if a clearer way forward is found.
- sweeter 2y agoThat is definitely one of the things I really do love about Zig. Is that even I as a semi-inexperienced programmer have had multiple pirs accepted in zig without really any friction? And I've talked to Andrew and a few other of the guys and girls multiple times and they are very receptive and very open to well thought out well planned solutions. But in regards to any writer and any type, there have been a lot of suggestions, some of which were tentatively accepted and then didn't work out in the end and some of which have been denied such as interfaces. So I'm not sure where that will end up by 1.0