Live data from Hacker News

Open-source Zig book

zigbook.net

41–50 of 426 posts

Re: Open-source Zig book

#41

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…

I don't think so, I think it's just a pompous style of writing.

Re: Open-source Zig book

#43

It's really hard to believe this isn't AI generated, but today I was trying to use the HTTP server from std after the 0.15 changes, couldn't figure out how it's supposed to work until I've searched repos in Github. LLM's couldn't figure it out as well, they were stuck in a loop of changing/breaking things even further until they arrived at the solution of using the deprecated way. so I guess this is actually handwrit…

I've had the same experience as you with Zig. I quite love the idea of it Zig but the undocumented churn is a bit much. I wish they had auto generated docs that reflect the current state of the stdlib, at least. Even if it just listed the signatures with no commentary.

I was trying to solve a simple problem but Google, the official docs, and LLMs were all out of date. I eventually found what I needed in Zig's commit history, where they casually renamed something without updating the docs. It's been renamed once more apparently, still not reflected in the docs :shrugs:.

Re: Open-source Zig book

#44
It's pretty incredible how much ground this covers! However, the ordering feels a little confusing to me.

One example is in chapter 1. It talks about symbol exporting based on platform type, without explaining ELF. This is before talking about while loops.

It's had some interesting nuggets so far, and I've followed along since I'm familiar with some of the broad strokes, but I can see it being confusing to someone new to systems programming.

Re: Open-source Zig book

#46

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…

Pretty clear it's all AI. The @zigbook account only has 1 activity prior to publishing this repo, and that's an issue where they mention "ai has made me too lazy": https://github.com/microsoft/vscode/issues/272725

Re: Open-source Zig book

#47
post #39
post #32

Earlier quoted context omitted.

So petty as to lie about using AI or so petty as to call it out? Calling it out doesn't seem petty to me. I intend to learn Zig when it reaches 1.0 so I was interested in this book. Now that I see it was probably generated by someone who claimed otherwise, I suspect this book would have as much of a chance of hurting my understanding as helping it. So I'll skip it. Does that really sound petty?

[flagged]

I understand being okay with a book being generated (some of the text I published in this manual [1] is generated), I can imagine not caring that the author lied about their use of AI, but I really don't understand the suggestion I write a book about a subject I just told you I'm clueless about. I feel like there's some kind of epistemic nihilism here that I can't fathom. Or maybe you meant it as a barb and it's not that deep? You tell me I guess.

[1] https://maxbondabe.github.io/attempt/intro.html

Re: Open-source Zig book

#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 it deeply enough to teach others, contribute to the ecosystem, and build systems that reflect your complete mastery.

More not just X - Y constructions with parallelism.

Even the “not made with AI” banner seems AI generated! Note the 3 item parallelism.

> 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 don’t have anything against AI generated content. I’m just confused what’s going on here!

EDIT: after scanning the contents of the book itself I don’t believe it’s AI generated - perhaps it’s just the intro?

EDIT again: no, I’ve swung back to the camp of mostly AI generated. I would believe it if you told me the author wrote it by hand and then used AI to trim the style, but “no AI” seems hard to believe. The flow charts in particular stand out like a sore thumb - they just don’t have the kind of content a human would put in flow charts.

Re: Open-source Zig book

#49

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…

Doesn't mean that the author might not use AI to optimise legibility. You can write stuff yourself and use an LLM to enhance the reading flow. Especially for non-native speakers it is immensely helpful to do so. Doesn't mean that the content is "AI-generated". The essence is still written by a human.

But then you cannot write that

"The Zigbook intentionally contains no AI-generated content—it is hand-written"

Post reply on HN