Live data from Hacker News

Open-source Zig book

zigbook.net

161–170 of 426 posts

Re: Open-source Zig book

#161

The book content itself is deliberately free of AI-generated prose. Drafts may start anywhere, but final text should be reviewed, edited, and owned by a human contributor. There is more specificity around AI use in the project README. There may have been LLMs used during drafting, which has led to the "hallmarks" sticking around that some commenters are pointing out.

That statement is honestly self-contradictory. If a draft was AI-generated and then reviewed, edited, and owned by a human contributor, then the parts which survived reviewing and editing verbatim were still AI-generated...

Re: Open-source Zig book

#162
post #133

So many comments about the AI generation part. Why does it matter? If it’s good and accurate and helpful why do you care? That’s like saying you used a calculator to calculate your equations so I can’t trust you. I am just impressed by the quality and details and approach of it all. Nicely done (PS: I know nothing about systems programming and I have been writing code for 25 years)

Because the first thing you see when you click the link is "Zero AI" pasted under the most obviously AI-generated copy I've ever seen. It's just an insult to our intelligence, obviously we're gonna call OP out on this. Why lie like that?

It's funny how everyone has gaslit themselves into doubting their own intuitions on the most blatant specimen where it's not just a mere whiff of the reek but an overpowering pungency assaulting the senses at every turn, forcing themselves to exclaim "the Emperor's fart smells wonderful!"

    “The Party told you to reject the evidence of your eyes and ears. It was their final, most essential command.”

Re: Open-source Zig book

#163

So despite this... > The Zigbook intentionally contains no AI-generated content—it is hand-written, carefully curated, and continuously updated to reflect the latest language features and best practices. I just don't buy it. I'm 99% sure this is written by an LLM. Can the author... Convince me otherwise? > This journey begins with simplicity—the kind you encounter on the first day. By the end, you will discover a dif…

> Can the author... Convince me otherwise? Not disagreeing with you, but out of interest, how could you be convinced otherwise?

Git log / draft history

Re: Open-source Zig book

#164
post #48

The book claims it’s not written with the help of AI, but the content seems so blatantly AI-generated that I’m not sure what to conclude, unless the author is the guy OpenAI trained GPT-5 on: > Learning Zig is not just about adding a language to your resume. It is about fundamentally changing how you think about software. “Not just X - Y” constructions. > By Chapter 61, you will not just know Zig; you will understand…

Every time I read things like this, it makes me think that AI was trained off of me. Using semicolons, utilizing classic writing patterns, and common use of compare and contrast are all examples of how they teach to write essays in high school and college. They're also all examples of how I think and have learned to communicate. I'm not sure what to make of that either.

But you didn't write that "Using semicolons, utilizing classic writing patterns, and common use of compare and contrast are not just examples of how they teach to write essays in high school and college; they're also all examples of how I think and have learned to communicate."

Re: Open-source Zig book

#165
post #134

>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.

I suspect most developers do not know C.

C is fine C++ is where they jumped the shark

Re: Open-source Zig book

#166
post #158
post #151

Earlier quoted context omitted.

That tagline unfortunately turned me off the book, without even starting to read. I really don't need this kind of self-enlightenment rubbish. What if I read the whole book and felt no change? I think I understand SoA just fine.

It is also just such a supremely unziglike thing to state.

Early talks by Andrew explicitly leaned into the notion that "software can be perfect", which is a deviation from how most programmers view software development.

Zig also encourages you to "think like a computer" (also an explicit goal stated by Andrew) even more than C does on modern machines, given things like real vectors instead of relying on auto vectorization, the lack of a standard global allocator, and the lack of implicit buffering on standard io functions.

I would definitely put Zig on the list of languages that made me think about programming differently.

Re: Open-source Zig book

#167
post #110

Earlier quoted context omitted.

> Why does it matter? Because AI gets things wrong, often, in ways that can be very difficult to catch. By their very nature LLMs write text that sounds plausible enough to bypass manual review (see https://daniel.haxx.se/blog/2025/07/14/death-by-a-thousand-s... ), so some find it best to avoid using it at all when writing documentation.

Humans get things wrong too. Quality prose usually only becomes that after many reviews.

AI gets things wrong ("hallucinates") much more often than actual subject matter experts. This is disingenuous.

Re: Open-source Zig book

#168
post #130

This source is really hard to trust. AI or not, the author has done no work to really establish epistemological reliability and transparency. The entire book was published at once with no history, no evidence of the improvement and iteration it takes to create quality work, and no reference as to the creative process or collaborators or anything. And on top of that, the author does not seem to really have any other p…

How do you feel about regular books, whose iterations and edits you dont see?

For books that are published in more traditional manners, digital or paper, there is normally a credible publisher, editors, sometimes a foreword from a known figure, reviews from critics or experts in the field, and often a bio about the author explaining who they are and why they wrote the book etc. These different elements are all signals of reliability, they help to convey that the content is more than just fluff around an attention-grabbing title, that it has depth and quality and holds up. The whole publishing business has put massive effort into establishing and building these markers of trust.

Re: Open-source Zig book

#169
For me, personally, any new language needs to have a "why." If a new language can't convince me in 1-2 sentences why I need to learn it and how it's going to improve software development, as a whole, it's 99% bs and not worth my time.

DHH does a great job of clarifying this during his podcast with Lex Friedman. The "why" is immediately clear and one can decide for themselves if it's what they're looking for. I have not yet seen a "why" for Zig.

Re: Open-source Zig book

#170

[flagged]

What is it with HN and the "oh, I thought {NAME} is the totally different tool {NAME}" comments? Is it some inside joke?

Or just incredulity that people naming a technology are ignorant of the fact that another well-known technology is already using it.

¯\_(ツ)_/¯

Post reply on HN