Skip to content

Comment on Metaprogramming in Zig and parsing CSSparent

Comments

C has cppreference, the standard is not made to be learned from.

Zigs stdlib have near zero usable docs.

Yes I know you can browse the code, but thats difficult since the zig lsp has very little idea about a lot of types.

For me, I browse through the GitHub UI and I also keep local copies of Zig (for various releases) so I can `git grep` and glance through lib/std/mem.zig or lib/std/array_list.zig or (as in this post) lib/std/json/static.zig.

I'm not saying it works for everyone but frankly, like motiejus it sounds, I don't mind the minor challenge of being forced to read source code.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.