←back to thread

Zig is hard but worth it

(ratfactor.com)
401 points signa11 | 1 comments | | HN request time: 0.207s | source
Show context
thadt ◴[] No.36150211[source]
> Crucially, there is basically no documentation for the standard library except for the source code itself.

From the viewpoint of someone learning about a new language, I find the accessibility of the standard libraries goes a long way toward helping me understand how things fit together. It is a first stop to see how experts in the language use it. Browsing through the standard libraries of languages like Zig, Go, and Python - they're usually well-documented and readable enough to be a tutorial, even before you've dug into learning it. Others (Rust, C++) are a bit more, ah, technical for the novice.

replies(3): >>36150393 #>>36150476 #>>36150587 #
TwentyPosts ◴[] No.36150587[source]
Afaik Zig has the issue that basically everything happens on the Discord server, where it can't be indexed via search engines, or found by anyone who wants to have a quick question answered. This would be "fine" if the standard library and language were much better documented, but it isn't, and it's still ripe with bugs.

In other words, you're forced to use the Zig Discord server if you want to find answers to any simple questions, and this is (sadly) not obvious at all to newcomers to the language.

replies(2): >>36152039 #>>36152584 #
1. scns ◴[] No.36152584[source]
The new Zulip version can make chats accessible from the outside. In the thread about it someone wrote OSS Projects should switch to it.