←back to thread

Open-source Zig book

(www.zigbook.net)
692 points rudedogg | 6 comments | | HN request time: 0.39s | source | bottom
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 #
1. downrightmike ◴[] No.45950568[source]
C is fine C++ is where they jumped the shark
replies(5): >>45950730 #>>45950860 #>>45950891 #>>45952424 #>>45952507 #
2. bnolsen ◴[] No.45950730[source]
C++ explored a lot of ideas that some modern languages borrowed. C++ just had to haul along all the cruft it inherited and built up.
3. jeltz ◴[] No.45950860[source]
No, C is not fine. It is a really bad language that I unfortunately have to code professionally.
4. 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.
5. cowsandmilk ◴[] No.45952424[source]
I’m not sure what that has to do with the comment you’re replying to…
6. pjmlp ◴[] No.45952507[source]
Until WG14 ackwnowledges the safety holes in C, isn't fine at all, it should be nuked.