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. …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
  2. …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
  3. 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…
  4. …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
  5. ▲ 5
    Why Zig When There Is Already CPP, D, and Rust?
    story by jorangreef · 2018-07-11 · 0 comments
  6. 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.
  7. …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
  8. …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…
  9. …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
  10. 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
  11. https://github.com/ziglang/zig and Jonathan Blow's JAI language seem to be contenders for C replacement.
  12. …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]…
  13. …Will have to see what the future holds. [1] https://ziglang.org/documentation/master/#Alignment [2] https://github.com/ziglang/zig/issues/1006
  14. …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
  15. …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…
  16. …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...
  17. …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
  18. …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...
  19. https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-A...
  20. I was wondering why `inline if` would be necessary. Apparently it's already been removed: https://github.com/andrewrk/zig/commit/b78c91951a1db34c615a0...
  21. …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
  22. https://github.com/andrewrk/zig/issues/176
  23. Make issues. I made one for the %% operator: https://github.com/andrewrk/zig/issues/176
  24. https://github.com/andrewrk/zig/issues/176
  25. 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.
  26. ▲ 3
    Zig: remove multiline comments
    story by turrini · 2016-08-04 · 0 comments
  27. 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
  28. …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
  29. …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…
  30. …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