Hacker GitHub

← All repos

ziglang/zig

View on GitHub ↗ ★ 43,260 Zig

Moved to Codeberg

680 mentions on Hacker News by 373 people: 46 stories, 634 comments · first 2016-01-08 · latest 2026-09-19

Mentions per year 680 mentions · busiest year 2025 (123)
20082026
  1. …zstd compression on the wasm artifact in this commit [0] for the reasons you mention [1]. [0] https://github.com/ziglang/zig/commit/c51288f1f6be20be9f162c... [1] https://github.com/ziglang/zig/pull/13821#issuecomment-13448...
    comment by tiehuis · 2022-12-11 · in Goodbye to the C++ Implementation of Zig
  2. ▲ 44
    Old Zig compiler (in C++) was nuked today
    story by BratishkaErik · 2022-12-07 · 4 comments
  3. …be used throughout the ecosystem and so it interacts better with tooling (e.g. doc generation). [0] https://github.com/ziglang/zig/issues/1268
    comment by losvedir · 2022-11-17 · in Easy Interfaces with Zig 0.10
  4. ▲ 4
    Nuke the C++ implementation of Zig from orbit using WASI
    story by gbrown_ · 2022-11-16 · 0 comments
  5. To summarize: 1. https://github.com/ziglang/zig/issues/1291 2. wrong 3. wrong
  6. …worth the effort in the long run. The discussion wasn't about the existence of basic unit tests. https://github.com/ziglang/zig/tree/master/test
    comment by kristoff_it · 2022-10-26 · in Zig Is Self-Hosted Now, What's Next?
  7. The bug that's currently blocking me from any work using master is https://github.com/ziglang/zig/issues/12325 That's not really a bug related to unfinished features that might get replaced anyways, but simply one involving recursive…
    comment by j-pb · 2022-10-25 · in Zig Is Self-Hosted Now, What's Next?
  8. …for a swift journey, arriving at our destination early, and then busting out the hardcore QA. I see https://github.com/ziglang/zig/issues/13211 mentioned elsewhere in this thread. I want to point out that getting the C ABI correct when…
    comment by AndyKelley · 2022-10-25 · in Zig Is Self-Hosted Now, What's Next?
  9. …good number of known miscompilations, I can substantiate for the parent poster with a simple link: https://github.com/ziglang/zig/labels/miscompilation It's also true that the self-hosted compiler has caused new bugs to pop up, which in…
    comment by kristoff_it · 2022-10-25 · in Zig Is Self-Hosted Now, What's Next?
  10. Here's a pretty substantial bug from just a week ago: https://github.com/ziglang/zig/issues/13211
    comment by mirashii · 2022-10-25 · in Zig Is Self-Hosted Now, What's Next?
  11. …a good systems language needs to be designed to accommodate the needs of the outside world. [0] https://github.com/ziglang/zig/issues/265#issuecomment-46337...
    comment by cyber_kinetist · 2022-10-17 · in Learn enough C to survive
  12. …wrappers implemented in "std". Which is nice for usecases like databases or networked services) https://github.com/ziglang/zig/blob/42a3b60c331cf01d1ab80eb7...
  13. You could’ve found out in 5 seconds if you had looked at https://github.com/ziglang/zig but instead you decided to make this useless post
  14. …been implemented for the last 6 years made me even less confident about the future of the project: https://github.com/ziglang/zig/issues/68 Even from this post: https://andrewkelley.me/post/full-time-zig.html Of all the Zig projects the…
  15. https://github.com/ziglang/zig/commits/master daily commits, certainly not dead
  16. Doesn't look dead for me. A bunch of things not updated due to resource shortage, methinks. https://github.com/ziglang/zig/graphs/contributors
  17. …are maliciously claiming incorrect things about zig over and over. Here I am refuting them again. https://github.com/ziglang/zig/issues/1291 This is an open issue from 2018 that I opened that specifically acknowledges this as a valuable…
  18. Here are some examples of "obvious" miscompilations like this: https://github.com/ziglang/zig/issues/10349 https://github.com/ziglang/zig/issues/9810 https://github.com/ziglang/zig/issues/8952 https://github.com/ziglang/zig/issues/4491…
  19. If parent is referring to what I think she/he is referring to, then it's something like this: https://github.com/ziglang/zig/issues/6768 . Keep in mind this is only to do with comptime not runtime. So not ideal, but not catastrophic in the…
  20. …it lacks RAII when convenient and its return value semantics (much like Carbon's) is a footgun: https://github.com/ziglang/zig/issues/5973 .
    comment by nyanpasu64 · 2022-09-18 · in CppCon 2022
  21. …The community is decentralized - does that mean they are building in community AND in public? [0] https://github.com/ziglang/zig/wiki/Community
    comment by benjaminjosephw · 2022-09-16 · in Building in community
  22. > https://github.com/ziglang/zig/issues/12040 This one is quite funny. Normally you'd use `if (a) ... else |b| ...` if the type of `a` was an error union, and you'd get the `if` branch if it was not an error and the `else` branch if it was…
    comment by anonymoushn · 2022-09-11 · in Zig VP of community comments on Rust
  23. …because I have seen some less egrigious intermittent miscompilations in stage1 such as this one: https://github.com/ziglang/zig/issues/11786 I cannot provide the full program in which it failed, and the small programs I tried did not cause…
    comment by anonymoushn · 2022-09-11 · in Zig VP of community comments on Rust
  24. It's a known issue, idk, look it up in the github issues. https://github.com/ziglang/zig/issues/3882 is related but not quite the same thing. ETA: Oh this is even better: `if (false)` code can (as of 0.10) run even outside field…
    comment by puffoflogic · 2022-09-11 · in Zig VP of community comments on Rust
  25. …workarounds and enforces something we automated long ago in the form of dead code elimination. [0] https://github.com/ziglang/zig/issues/335#issuecomment-43526...
    comment by alpaca128 · 2022-09-10 · in Game Jam 2 Results
  26. …to add a respectful comment on the issue on github to emphasize the UX issues it creates. issue: https://github.com/ziglang/zig/issues/335
    comment by fuu_dev · 2022-09-09 · in Game Jam 2 Results
  27. …be upstream (of course not default, but under a flag/different build mode/config option). [0]: https://github.com/ziglang/zig/issues/335#issuecomment-10138...
    comment by bmacho · 2022-09-08 · in Zig, the Small Language
  28. …try your type and see if it compiles. That's a valid point indeed and there's an issue for that: https://github.com/ziglang/zig/issues/1268
    comment by skywal_l · 2022-09-08 · in Revisiting the design approach to Zig
  29. Maybe this: https://github.com/ziglang/zig/issues/335#issuecomment-10138...
    comment by strager · 2022-09-08 · in Zig, the Small Language
  30. Yeah I miss interfaces/traits as well, see https://github.com/ziglang/zig/issues/1268 related open issue.
    comment by bouiaw · 2022-09-07 · in Zig, the Small Language
  31. …even more trivial things like public/private and var/const before it will even compile your code. https://github.com/ziglang/zig/issues/335 https://github.com/ziglang/zig/issues/224 Maybe I'm a bad developer, but my code is never perfect…
    comment by TakeBlaster16 · 2022-09-07 · in Zig, the Small Language
  32. ▲ 9
    Zig: Compile Errors for Unused Things
    story by TakeBlaster16 · 2022-09-07 · 5 comments
  33. …comment, but when I consider the code I have left in me, I'd like it to look as nice as possible. 0 https://github.com/ziglang/zig/issues/1097
    comment by ibiza · 2022-08-28 · in I like Odin
  34. …and both Nim and Zig interface with libc. Zig does not depend on libc on Linux, for example: https://github.com/ziglang/zig/blob/master/lib/std/os/linux.... You can choose to link libc though.
    comment by generichuman · 2022-08-26 · in Hooking Go from Rust
  35. …depending on the differences between the stage1 and stage2 backend, respectively. Related: https://github.com/ziglang/zig/issues/12183
    comment by AndyKelley · 2022-08-20 · in Zig is now self–hosted by default
  36. …[2]: https://ziglang.org/documentation/master/#Error-Return-Trace... [3]: https://github.com/ziglang/zig/blob/4a98385b0aa3808ab05a1ebf...
    comment by AndyKelley · 2022-08-20 · in Zig is now self–hosted by default
  37. …know about it until today, very impressive. Generic SoA in less than 500 lines of userland code... https://github.com/ziglang/zig/blob/master/lib/std/multi_arr...
    comment by sekao · 2022-08-20 · in Zig is now self–hosted by default
  38. Originally it was meant to be https://github.com/ziglang/zig/issues/89#issuecomment-122118... , but somehow last aprt was stripped. But that doesn't matter, thank you so much! New URL is definitely better.
    comment by BratishkaErik · 2022-08-20 · in Zig is now self–hosted by default
  39. We changed the URL from https://github.com/ziglang/zig/issues/89 .
    comment by dang · 2022-08-20 · in Zig is now self–hosted by default
  40. Yep, https://github.com/ziglang/zig/issues/6378
    comment by nyberg · 2022-08-20 · in Zig is now self–hosted by default
  41. ▲ 112
    Zig Self-Hosted Compiler Upgrade Guide
    story by generichuman · 2022-08-20 · 2 comments
  42. …upgrade immediately. See the full upgrade guide [3] for help deciding when and how to upgrade. [1]: https://github.com/ziglang/zig/tree/master/src/stage1 [2]: https://github.com/ziglang/zig/tree/master/src [3]:…
    comment by AndyKelley · 2022-08-20 · in Zig is now self–hosted by default
  43. ▲ 387
    Zig is now self–hosted by default
    story by BratishkaErik · 2022-08-20 · 111 comments
  44. …and can instead use the stdlib that already exists to automagically get that functionality. [0]: https://github.com/ziglang/zig/blob/master/src/stage1/os.hpp [1]: https://github.com/ziglang/zig/blob/a9c4dc84f487c4764c578743...
    comment by _gabe_ · 2022-08-15 · in Will Bun JavaScript Take Node's Crown
  45. …the programming language Bun is written on, is currently having some Windows headaches of its own: https://github.com/ziglang/zig/issues/12420 I wonder how much of Bun's immaturity is due to Zig's own immaturity.
    comment by Hamcha · 2022-08-14 · in Will Bun JavaScript Take Node's Crown
  46. …macro assemblers". They derive their semantics from the semantics of the underlying assembly. Take https://github.com/ziglang/zig/issues/12251 as an example. Several people from the Rust and Haskell community slacked off on twitter about…
    comment by j-pb · 2022-08-08 · in MiniRust
  47. …bit pattern to directly generate the exponent. This is what is done in the Zig standard library: https://github.com/ziglang/zig/pull/10428
  48. …to edit, but related: https://news.ycombinator.com/item?id=27089184 , immutable pointer aliasing, https://github.com/ziglang/zig/issues/4021 .
  49. ▲ 1
    Improved handling of strings and Unicode (2017)
    story by silasdb · 2022-07-24 · 0 comments
  50. There is an accepted (but as of yet unimplemented) proposal to fix just that: https://github.com/ziglang/zig/issues/7257#issuecomment-1030...
    comment by Aransentin · 2022-07-22 · in Some Thoughts on Zig