Live data from Hacker News

Open-source Zig book

zigbook.net

401–410 of 426 posts

Re: Open-source Zig book

#401

Earlier quoted context omitted.

https://stockshed.com/products/t3542-zig-2-4-ghz-wireless-me... I think ZigBee uses Zig. It's an implementation.

The page you've linked is very confusing, but as far as I can tell that's a Zigbee device that the manufacturer (Tensor plc) consistently describes as a "Zig" device. I have no idea why, it's bizarre. - This thesis [1] identifies a product in this family as a Zigbee device. It's on the 80th page (numbered 62). Elsewhere it's referred to as a Zig device. - I can't find anyone else claiming to make Zig devices or any r…

Thanks for the research.

The point is made, though: You can see how people think Zig is a protocol and Zigbee is a (certainly the primary) vendor. Whether that's true or not!

Re: Open-source Zig book

#402

Earlier quoted context omitted.

The page you've linked is very confusing, but as far as I can tell that's a Zigbee device that the manufacturer (Tensor plc) consistently describes as a "Zig" device. I have no idea why, it's bizarre. - This thesis [1] identifies a product in this family as a Zigbee device. It's on the 80th page (numbered 62). Elsewhere it's referred to as a Zig device. - I can't find anyone else claiming to make Zig devices or any r…

Thanks for the research. The point is made, though: You can see how people think Zig is a protocol and Zigbee is a (certainly the primary) vendor. Whether that's true or not!

For sure but I don't think Andrew Kelley should've let a thing like that stop him from naming the language what he wanted when it isn't true. There's a lot of projects out there and only so many good, short, pronounceable names, so there's only so much accommodating you can do for name collisions with entities that don't exist.

Re: Open-source Zig book

#403

I submitted this and unfortunately it is likely AI generated. The authors github history suggests it at the very least, along with seemingly misunderstanding a reference to a Zig language feature (labeled blocks - https://zig.guide/language-basics/labelled-blocks/ ) in the project issues ( https://github.com/zigbook/zigbook/issues/4 ). I’m not sure how much value is to be had here, and it’s unfortunate the author was…

Created https://github.com/zigbook/zigbook/issues/18

Aaaand it's gone!

Re: Open-source Zig book

#409

This looks fantastic. Pedagogically it makes sense to me, and I love this approach of not just teaching a language, but a paradigm (in this case, low-level systems programming), in a single text. Zig got me excited when I stumbled into it about a year ago, but life got busy and then the io changes came along and I thought about holding off until things settled down - it's still a very young language. But reading the…

> Pedagogically it makes sense to me

It does not. It dives into compiler details on chapter 01, and smells heavily AI (not in a good way) as others have pointed out

Re: Open-source Zig book

#410

Earlier quoted context omitted.

Oh, they are. Like a multitude of other languages.

There aren't a multitude of other languages that compete with Rust and Zig in the "zero cost abstraction" domain. There's like, Ada... and D sort of. Rust and Zig aren't merely very good, they are better than the alternatives when you need a "zero cost abstraction" option. But sure, go ahead and dismiss it as a cult if it makes you feel better. I bet you were one of the people who dismissed the iPhone as "just apple…

But the concern in this thread wasn't that people consider Zig or Rust good, so don't try to frame it this way, because it is dishonest.

Original quote:

> [Learning Zig] is about fundamentally changing how you think about software.

This is not the same. Something like it could be said about Lisp, Forth, Prolog, Smalltalk, Fractran or APL, even Brainfuck, not Rust or Zig. No, thinking about object lifetimes or allocators is not "fundamental change" in how to think about software. It is bread and butter of thinking about software. Therefore I believe this is cultish behavior - you assign extraordinary properties to something rather dull and not that much different from other mainstream languages.

> I bet you were one of the people who dismissed the iPhone as "just apple fanbois" back in the day

Wrong. I still dismiss people praising Apple, swallowing some bullshit about "vision" etc. as fanboys.

Post reply on HN