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. …stack overflow while keeping recursion (by enabling the user to allocate stack frames in the heap). https://github.com/ziglang/zig/issues/1639
  2. https://github.com/ziglang/zig/issues/853
    comment by AndyKelley · 2019-01-08 · in C++ Headers are Expensive
  3. …video: > Documentation is about 80% done And yet there is not standard library documentation. :( https://github.com/ziglang/zig/issues/965
    comment by gbuk2013 · 2018-11-11 · in Zig: software should be perfect [video]
  4. I think Zig would be better suited. See: https://github.com/ziglang/zig/wiki/Why-Zig-When-There-is-Al...
  5. Can you link to Nim's userland implementation of printf? Here's zig: https://github.com/ziglang/zig/blob/822d4fa216ea8f598e4a9d53...
  6. There's an allocator in the standard library that is specifically designed to fail. https://github.com/ziglang/zig/blob/master/std/debug/failing...
    comment by AnIdiotOnTheNet · 2018-09-21 · in LLVM 7.0.0 released
  7. …fail will either be `if`, `while`, `catch`, or `try`, in order to deal with the error case. [1]: https://github.com/ziglang/zig/blob/e3d8cae35a5d194386eacd9a... [2]: https://ziglang.org/documentation/master/#Error-Set-Type
    comment by AndyKelley · 2018-09-19 · in LLVM 7.0.0 released
  8. …as how it does in clang with -O3. There's an open issue for adding guaranteed tail call semantics: https://github.com/ziglang/zig/issues/694 it's an important issue for the project because one of the things it is tackling is the problem of…
    comment by AndyKelley · 2018-09-19 · in LLVM 7.0.0 released
  9. I understand the question, but as @AndyKelley taught me ( https://github.com/ziglang/zig/pull/993#commitcomment-289183... ), it is actually worse to zero a value unnecessarily if you can use Valgrind/sanitizers to check for uninitialized…
  10. …because of eager execution, the ref is guaranteed. [1]: http://llvm.org/docs/Coroutines.html [2]: https://github.com/ziglang/zig/blob/363f4facea7fac2d6cfeab9d...
    comment by AndyKelley · 2018-07-16 · in Async and Await in Rust: a full proposal
  11. Learn Zig ( https://github.com/ziglang/zig ). Aims to be lightweight alternative to Rust, similar to how C is lightweight alternative to C++. Both Zig and Rust use LLVM backend and borrow some concepts from the LLVM IR.
  12. …pointer reform [0]. There are a lot of other changes too, but that one's the most noticeable. [0] https://github.com/ziglang/zig/issues/770
    comment by AnIdiotOnTheNet · 2018-07-02 · in Pointers Are More Abstract Than You Might Expect in C
  13. …even than hand-tuned assembly) SHA-2 [1] [0] https://andrewkelley.me/post/intro-to-zig.html , https://github.com/ziglang/zig/wiki/Why-Zig-When-There-is-Al... [1] https://ziglang.org/download/0.2.0/release-notes.html , it's also mentioned…
  14. …is being developed by a high-performance game designer for the usecase of high-performance games." https://github.com/ziglang/zig/wiki/Why-Zig-When-There-is-Al...
    comment by slobotron · 2018-06-07 · in I Quit My Job to Live on Donations to Zig
  15. https://github.com/ziglang/zig/wiki/Why-Zig-When-There-is-Al...
    comment by AndyKelley · 2018-06-07 · in I Quit My Job to Live on Donations to Zig
  16. https://github.com/ziglang/zig and Jonathan Blow's JAI language seem to be contenders for C replacement.
  17. …quirks around varargs (such as using not being able to use varargs functions at comptime). [1] https://github.com/ziglang/zig/issues/130 [2] https://github.com/ziglang/zig/blob/15302e84a45a04cfe94a8842... [3]…
  18. …Will have to see what the future holds. [1] https://ziglang.org/documentation/master/#Alignment [2] https://github.com/ziglang/zig/issues/1006
  19. …SHA-256 demo tests in the talk show, Zig is as fast or faster than C. [1] http://ziglang.org [2] https://github.com/ziglang/zig
  20. …is not called during program startup. I didn't find the zig issue for this feature so I created it: https://github.com/ziglang/zig/issues/1024 If we did the "Static control flow analysis" idea then zig would bench the same as the…
  21. …accept an allocator at runtime, or possibly at either compile time or runtime." more in this wiki! https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-A...
  22. …explained in more detail in this wiki article, "Why Zig When There is Already C++, D, and Rust?": https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-A...
    comment by AndyKelley · 2017-11-10 · in The long goodbye to C
  23. …looks ambitious. But... It's not very pretty? Looks a bit like an unholy union of TeX and C? https://github.com/zig-lang/zig/blob/master/example/cat/main...
  24. https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-A...
  25. I was wondering why `inline if` would be necessary. Apparently it's already been removed: https://github.com/andrewrk/zig/commit/b78c91951a1db34c615a0...
  26. …There's a language you might like, but I can't _quite_ find it right now, gah. EDIT: Oh! Zig! https://github.com/andrewrk/zig
    comment by steveklabnik · 2017-01-12 · in The Dark Path
  27. https://github.com/andrewrk/zig/issues/176
  28. Make issues. I made one for the %% operator: https://github.com/andrewrk/zig/issues/176
  29. https://github.com/andrewrk/zig/issues/176
  30. https://github.com/andrewrk/zig/issues/89 As long as we rely on libclang and LLVM there will be a part of the compiler written in C++, and I foresee these dependencies sticking around.
  31. Zig ( https://github.com/andrewrk/zig ), "a system programming language intended to replace C", has a lot of those features.
    comment by roryokane · 2016-08-04 · in Crystal: Fast as C, Slick as Ruby
  32. …much just copied GCC's syntax[1]. Do you have any specific suggestions on how to do better? [1]: https://github.com/andrewrk/zig/blob/master/std/linux_x86_64...
    comment by AndyKelley · 2016-05-02 · in Inline assembly in Linux
  33. …person's work but I just got this working a few minutes ago and I'm really excited to demo it! [1]: https://github.com/andrewrk/zig [2]: https://github.com/andrewrk/tetris/blob/aaf09e30a3a7b9ed8f34... OK I think I understand what the…
  34. …it's a new programming language, we don't have the other types sitting there as a red herring. [1]: https://github.com/andrewrk/zig [2]: https://gist.github.com/andrewrk/131e6f48a15c42fc5ca8
    comment by AndyKelley · 2016-01-08 · in How to C in 2016