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. …https://github.com/espressif/llvm-project/issues/4#issuecomm... https://github.com/ziglang/zig/issues/5467#issuecomment-1465...
    comment by weitzj · 2023-03-18 · in LLVM 16.0.0 Release
  2. …there does seem to be community interest in metadata annotations for external static analysis https://github.com/ziglang/zig/issues/14656 ] Although I only have a beginner knowledge of the language, it seems to me that Zig is just on the…
    comment by kps · 2023-03-10 · in Zig: The Modern Alternative to C
  3. …or tooling to find unused variables. It's quite an ironic outcome if you think about it. [1]: https://github.com/ziglang/zig/pull/12803
    comment by rom-antics · 2023-03-10 · in Zig: The Modern Alternative to C
  4. …in the stdlib, but it has some limitations and there is some discussion to change it or remove it https://github.com/ziglang/zig/issues/8224 Some Zig libraries implementing an event loop: - libxev by Mitchell Hashimoto…
    comment by fbouvier · 2023-03-10 · in Zig: The Modern Alternative to C
  5. …example is considering triggering an error for incorrectly indented code/misleading indentation: https://github.com/ziglang/zig/issues/35
    comment by ngrilly · 2023-03-03 · in Why Python keeps growing, explained
  6. …to provide a at least an AST to ensure annotations have known + unique semantics as I explain in https://github.com/ziglang/zig/issues/14656#issuecomment-143... . I would say that this is a primitive quasi-type check decoupled from main…
    comment by matu3ba · 2023-02-27 · in Zig's multi-sequence for loops
  7. …Zig meta-programming to actually be fairly readable, here's the function that does the formatting: https://github.com/ziglang/zig/blob/master/lib/std/fmt.zig
    comment by Laremere · 2023-02-27 · in Zig's multi-sequence for loops
  8. …function is implemented in the std library[1] not the compiler and Zig does not have varargs [1] https://github.com/ziglang/zig/blob/f6c934677315665c140151b8...
    comment by quic5 · 2023-02-27 · in Zig's multi-sequence for loops
  9. I don't speak for Jarred or Andrew, but here is a recent exchange between them about this matter: https://github.com/ziglang/zig/issues/14542#issuecomment-141... The tension is understandable: Zig is explicitly not production-ready, yet it…
    comment by hryx · 2023-02-25 · in Bun v0.5.7
  10. …it'll 'just work' as claimed for the Go use case, so best not to claim otherwise until then. [0] https://github.com/ziglang/zig/issues/1349
  11. …eliminate the goroutine -> OS thread switching overhead. [0] https://github.com/hexops/mach [1] https://github.com/ziglang/zig/issues/157
  12. …else. I don't see how this is much worse? What you seem to be looking for is an "unused function" ( https://github.com/ziglang/zig/issues/335 ) error instead as it catches that case unless you use the function in a branch that's not part…
    comment by nyberg · 2023-02-11 · in How a Zig IDE Could Work
  13. …as anytype, so zls auto-completion doesn't work. Also see: comptime interfaces proposal https://github.com/ziglang/zig/issues/1268
    comment by nusaru · 2023-02-10 · in How a Zig IDE Could Work
  14. …have done great contribution for async I/O in the Zig community: - io_uring support on the std lib https://github.com/ziglang/zig/pull/6356 - a cross-platform io_uring based event loop https://github.com/tigerbeetledb/tigerbeetle/tree/main/…
  15. …I’d expected at this point. Though, I am still curious what the end game IDE support would look. https://github.com/ziglang/zig/issues/3028 is a big component of that.
  16. …- Zig's language docs: https://ziglang.org/documentation/master/ - Zig's standard library code https://github.com/ziglang/zig/
    comment by Jarred · 2023-01-18 · in Bun v0.5
  17. …code, executed at compile-time. No magic, no macros, fully compile-time error-checked formatting. https://github.com/ziglang/zig/blob/master/lib/std/fmt.zig#L...
    comment by dilap · 2023-01-16 · in Rust vs. C++ Formatting
  18. …See also why even "intentionally C-like" languages like Zig are growing increasing complexity https://github.com/ziglang/zig/issues/7769 Or why things like D's betterC adds all the same "objectionable" stuff C++ does - RAII, operator…
  19. …of releases each. For a good read of how weird these can be here is a bug report from last month https://github.com/ziglang/zig/issues/13480
    comment by zamadatix · 2023-01-11 · in A Zig Diary
  20. https://github.com/ziglang/zig/pull/14265
    comment by usdogu · 2023-01-11 · in A Zig Diary
  21. Is a package manager still in the works? A rudimentary search led me to this GitHub issue: https://github.com/ziglang/zig/issues/943
    comment by stoicjumbotron · 2023-01-11 · in A Zig Diary
  22. …those are required for the borrow checker or safety, but it's a philosophical design decision. 1: https://github.com/ziglang/zig/issues/1251
  23. …> Zig is a programming language, but it also ships with a package manager Which is not true: https://github.com/ziglang/zig/issues/943 > Zig has no macros and no metaprogramming Literally from Zig's homepage ( https://ziglang.org/ ):…
    comment by henry_viii · 2022-12-26 · in I wrote a Ruby extension in Zig
  24. …a zig-help channel that's pretty responsive if you're ok with Discord. The archive is searchable. https://github.com/ziglang/zig/wiki/Community#discord-englis... . GitHub's code search beta is a good way to find out how other people are…
    comment by modernerd · 2022-12-26 · in I wrote a Ruby extension in Zig
  25. …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
  26. …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
  27. To summarize: 1. https://github.com/ziglang/zig/issues/1291 2. wrong 3. wrong
  28. …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?
  29. 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?
  30. …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?
  31. …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?
  32. 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?
  33. …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
  34. …wrappers implemented in "std". Which is nice for usecases like databases or networked services) https://github.com/ziglang/zig/blob/42a3b60c331cf01d1ab80eb7...
  35. 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
  36. …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…
  37. https://github.com/ziglang/zig/commits/master daily commits, certainly not dead
  38. Doesn't look dead for me. A bunch of things not updated due to resource shortage, methinks. https://github.com/ziglang/zig/graphs/contributors
  39. …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…
  40. 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…
  41. 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…
  42. …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
  43. …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
  44. > 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
  45. …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
  46. 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
  47. …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
  48. …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
  49. …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
  50. …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