←back to thread

Open-source Zig book

(www.zigbook.net)
692 points rudedogg | 1 comments | | HN request time: 0.25s | source
Show context
charlie90 ◴[] No.45950098[source]
>Learning Zig is not just about adding a language to your resume. It is about fundamentally changing how you think about software.

Zig is just C with a marketing push. Most developers already know C.

replies(3): >>45950188 #>>45950368 #>>45951532 #
dcre ◴[] No.45950188[source]
I suspect most developers do not know C.
replies(2): >>45950568 #>>45950773 #
downrightmike ◴[] No.45950568[source]
C is fine C++ is where they jumped the shark
replies(5): >>45950730 #>>45950860 #>>45950891 #>>45952424 #>>45952507 #
1. MyOutfitIsVague ◴[] No.45950891[source]
C++ is far better than C in very many ways. It's also far worse than C in very many other ways. Given a choice between the two, I'd still choose C++ every day just for RAII. There's only so much that we can blame programmers for memory leaks, use-after-free, buffer overflows, and other things that are still common in new C code. At some point, it is the language itself that is unsuitable and insufficient.