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. Zig does not have varargs. They were removed in favor of anonymous structs/tuples. See https://github.com/ziglang/zig/issues/208#issuecomment-39377... .
    comment by edflsafoiewq · 2021-01-03 · in Zig in 30 Minutes
  2. …the linker invocation with `--verbose-link` on the end of that. The issue tracking the problem is: https://github.com/ziglang/zig/issues/7133
  3. …of this would be compiling stuff to GPUs, e.g. SPIR-V. Such things are planned but not implemented. https://github.com/ziglang/zig/issues/2683 * Things that will never be in scope. An example of this would be code obfuscation, which is a…
    comment by AndyKelley · 2020-12-14 · in Zig 0.7.1 Released – 69 bugs fixed
  4. > I can't find the link Here you go! https://github.com/ziglang/zig/issues/6378
    comment by AndyKelley · 2020-12-13 · in Zig 0.7.1 Released – 69 bugs fixed
  5. Another example, Zig landed io_uring in the std lib a month ago: https://github.com/ziglang/zig/pull/6356 I'm also really excited by how you can use io_uring to power everything (fs, networking etc.) with one easy api and a single-threaded…
  6. Thanks. Now searching through issues I see: https://github.com/ziglang/zig/issues/5246 and the most recent entry (Sep 2): "The plan for this is now to, at some strategic moment, utilize the C backend of stage2 to do a one time thing where…
    comment by acqq · 2020-11-10 · in Zig 0.7.0 Release Notes
  7. ▲ 2
    Zig v0.7.0 Tagged
    story by todsacerdoti · 2020-11-08 · 0 comments
  8. …bugs in that C/C++ code. Worth noting that UB is also checked in ReleaseSafe mode. Related issue: https://github.com/ziglang/zig/issues/2301
    comment by xandroo · 2020-11-08 · in Zig 0.7.0 tagged
  9. https://github.com/facebook/folly https://github.com/ziglang/zig
    comment by latenightcoding · 2020-10-28 · in Ask HN: Good C++ code bases to read?
  10. …and could be compiled to C code. Zig will eventually have this feature. It is a work-in-progress: https://github.com/ziglang/zig/blob/master/src/codegen/c.zig
    comment by Jayschwa · 2020-10-21 · in Assorted Thoughts on Zig and Rust
  11. I believe zig does not intend to implement this eg https://github.com/ziglang/zig/issues/2479#issuecomment-5709... Naming conventions seem like the way to go.
    comment by jamii · 2020-10-20 · in Assorted Thoughts on Zig and Rust
  12. …and anyone is free to start their own space, as stated in the Community wiki page of the project https://github.com/ziglang/zig/wiki/Community So when it comes to Discord servers, at the moment of writing there are two listed in that…
    comment by kristoff_it · 2020-10-20 · in Assorted Thoughts on Zig and Rust
  13. …this in the Zig math tests, where it tests calling the same function at both comptime and runtime: https://github.com/ziglang/zig/blob/33c4ad7f3a79aad5d7ea481a...
    comment by dinglejungle · 2020-10-20 · in Assorted Thoughts on Zig and Rust
  14. …to the people who have opened pull requests on Zig and help them get their code merged. [1]: https://github.com/ziglang/zig/projects/3
    comment by AndyKelley · 2020-10-20 · in Assorted Thoughts on Zig and Rust
  15. Yes, but eventually, no https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
    comment by steveklabnik · 2020-10-20 · in Assorted Thoughts on Zig and Rust
  16. …consumers up for DOS attacks with malformed utf-8 inputs. EDIT: DOS vulnerability is still there ( https://github.com/ziglang/zig/blob/master/lib/std/unicode.z... , PR to fix that was closed https://github.com/ziglang/zig/pull/4929 ). I…
    comment by _u9xp · 2020-10-20 · in Assorted Thoughts on Zig and Rust
  17. Zig has high interoperability with C and plans to have a C backend as well. https://github.com/ziglang/zig/issues/3772
    comment by AnIdiotOnTheNet · 2020-10-20 · in Assorted Thoughts on Zig and Rust
  18. …for me. I've had a few small side projects I wanted to do which involved exposing an API. (1) https://github.com/ziglang/zig/issues/910 (2) https://github.com/ziglang/zig/issues/2007
    comment by latch · 2020-10-20 · in Assorted Thoughts on Zig and Rust
  19. For the time being, https://github.com/ziglang/zig/issues/2018
    comment by pjmlp · 2020-09-29 · in Zig's New Relationship with LLVM
  20. …that I see on the download page is: >Releases >You can also [install Zig from a package manager.]( https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Packa... ) Going by the AUR package script and the table in the wiki itself, those…
    comment by Arnavion · 2020-09-28 · in Zig's New Relationship with LLVM
  21. …that some aspects will change. E.g. I'm in favour of some of the (more minimal) suggestions here: https://github.com/ziglang/zig/issues/1669
    comment by pron · 2020-09-28 · in Zig's New Relationship with LLVM
  22. …a design principle of Zig's, and not just the current state of the project? @andrewrk's comments at https://github.com/ziglang/zig/issues/130 lead me to believe that it's still undecided. (To be clear, I don't use Zig, yet.)
    comment by creata · 2020-09-28 · in Zig's New Relationship with LLVM
  23. …bike shedding Zig 1.0 won't have this restrictions anymore. More information can be found here: https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m... https://github.com/ziglang/zig/issues/544
    comment by ikskuh · 2020-09-28 · in Zig's New Relationship with LLVM
  24. …always detect use-after-free even with all safety flags on. It seems progress is being made though. https://github.com/ziglang/zig/issues/3180
    comment by nyanpasu64 · 2020-09-28 · in Zig's New Relationship with LLVM
  25. …at https://ziglearn.org/ immediately fails with the installable zig binary from Arch (0.6.0) due to https://github.com/ziglang/zig/issues/5683 I'd never heard of zig until now, but as a community having top level "how to get started"…
    comment by gravitas · 2020-09-28 · in Zig's New Relationship with LLVM
  26. Quick bootstrapping is one of the goals for 1.0. Related issue: https://github.com/ziglang/zig/issues/6378
    comment by kristoff_it · 2020-09-28 · in Zig's New Relationship with LLVM
  27. Also relevant concerning the "No 5" contributor, Mr. Tate: https://github.com/ziglang/zig/issues/1530 That link is what the statement references as a sign of Mr. Tate's "flawed technical arguments". I'll admit I'm an outsider and a bit…
  28. …I immediately reverted the commit in question[1] and then I fixed the bug independently[2]. [1]: https://github.com/ziglang/zig/commit/8ed88280a62f2a400d00b5... [2]: https://github.com/ziglang/zig/commit/9050a07540b7387dade818...
  29. Here's one example: https://github.com/ziglang/zig/pull/2701
  30. Relevant: https://github.com/ziglang/zig/commit/3ca4925709ac6369391eb4...
  31. …one in version 0.8.0, indicatively 6 months from now. If you want to help speed the development up: https://github.com/ziglang/zig to contribute https://github.com/sponsors/ziglang (or email us at donations@ziglang.org) to donate
  32. A simple search on github will show what I worked on: https://github.com/ziglang/zig/search?q=author%3Akristate&un...
  33. On whose authority was https://github.com/ziglang/zig/pull/2701 made, and what are the implications for the Zig project now that the referenced commit ( https://github.com/ziglang/zig/commit/aa60d2a688c965dcccf8e2... ) is part of the…
  34. Here is a proposal for cleaner error handling, using named catch blocks: https://github.com/ziglang/zig/issues/5421
  35. (Small copy past error here, you posted the same link twice.) Regarding https://github.com/ziglang/zig/pull/5998 here we're exactly in the realm of C, changing the allocator with a custom one with additional bookkeeping to check for memory…
  36. > https://github.com/ziglang/zig/pull/5998 TBD :) But here's one way that's currently being tried: https://github.com/ziglang/zig/pull/5998
  37. …Zig goes further than that. In particular it just added a safe allocator suitable for production, https://github.com/ziglang/zig/pull/5998 edit: For more details, see https://ziglang.org/#Performance-and-Safety-Choose-Two
  38. …accepted hard tabs, then in practice, there would be accidental mixing of tabs and spaces. [1]: https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m... [2]: https://github.com/ziglang/zig/issues/544g
    comment by nyberg · 2020-07-16 · in Announcing The Zig Software Foundation
  39. You can see the planned releases in the milestones on GitHub: https://github.com/ziglang/zig/milestones I would say at least two more years then.
    comment by schroffl · 2020-07-12 · in Announcing The Zig Software Foundation
  40. …and what people are using in reality is the stage1 compiler, which does not accept hard tabs. https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
    comment by gmcabrita · 2020-07-11 · in Announcing The Zig Software Foundation
  41. Answered clearly here https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
  42. ▲ 2
    In Zig, let 'catch' define named error handlers
    story by networkimprov · 2020-06-19 · 0 comments
  43. …much in terms of memory safety, Zig [1] might be a better alternative + it actually exists. 1 - https://github.com/ziglang/zig
  44. Zig. There's a Why Zig When There is Already CPP, D, and Rust? writeup at https://github.com/ziglang/zig/wiki/Why-Zig-When-There-is-Al...
  45. …is one other language that managed to avoid that problem too by using compile-time magic [0]. [0] https://github.com/ziglang/zig/issues/1778
    comment by MrBuddyCasino · 2020-05-16 · in State of Loom
  46. There's ongoing work to add support for generating arbitary types at compile time: https://github.com/ziglang/zig/issues/383 .
  47. …offering there help it would be annoying. There are already more that three hundreds proposals: https://github.com/ziglang/zig/issues?q=is%3Aissue+is%3Aopen... A lot of them are about the syntax. Maybe this won't be endless but I'm sure a…
  48. …complaint at all. Perhaps you could you elaborate, provide a reference, or soften your stance? [1]: https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
  49. …actively in development with an engaging and helpful community.[2] [1]: https://ziglang.org/ [2]: https://github.com/ziglang/zig/wiki/Community
  50. …but still WIP? Is there a commit or series of commits showing recent targets that got support? [1] https://github.com/ziglang/zig/issues/853