News for hackers. Stuff that matters.
Re:Writing a C Compiler, in Zig by mrkeen on Thursday April 23, 2026 @10:10AM (#47875962)
The author was fed up with not having data structures already provided, and needing to roll his own
Re:Writing a C Compiler, in Zig by dwroberts on Thursday April 23, 2026 @01:47PM (#47878889)
Not really understanding what this would be though, zig has all the basic stuff you would expect in its stdlib (hashmap, queues, lists etc) just like Rust
Re:Writing a C Compiler, in Zig by Pay08 on Friday April 24, 2026 @07:26AM (#47888691)
This is from last year, the stdlib was much more bare back then.
Re:Writing a C Compiler, in Zig by resonancel on Thursday April 23, 2026 @10:06PM (#47884657)
Then it's actually the immature zig ecosystem that rubbed the author the wrong way, not zig the language itself. Not that the ecosystem isn't important, but IMO a language only truly fails you when it doesn't offer the composability and performance characteristics necessary for your solution.