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. I think there are at least 2 serious issues with TLS, both documented in: https://github.com/ziglang/zig/issues/15226
    comment by latch · 2024-04-21 · in Zig 0.12.0 Release Notes
  2. ▲ 7
    Zig Language 0.12 Release
    story by lr1970 · 2024-04-20 · 2 comments
  3. Note TLS/HTTPS is still not working https://github.com/ziglang/zig/issues/14172
    comment by 38 · 2024-04-20 · in Zig 0.12.0 Release Notes
  4. …another case of "this should be a warning instead". The discussion about it is indeed interesting: https://github.com/ziglang/zig/issues/224 e.g.: > > When debugging/prototyping, it's useful to comment out a line without having to…
    comment by wild_pointer · 2024-04-20 · in Zig 0.12.0 Release Notes
  5. …some file system paths when running on WOW64. But this is implemented in Kernel32, not ntdll. https://github.com/ziglang/zig/issues/11894
    comment by MarkSweep · 2024-04-02 · in Bun 1.1
  6. …The source cites this Zig issue as one reason for why they think it is OK to use undocumented APIs: https://github.com/ziglang/zig/issues/1840 I don't see any good reasons here cited for using undocumented, unstable interfaces. For Zig's…
    comment by MarkSweep · 2024-04-02 · in Bun 1.1
  7. …for contexts. [1]: https://github.com/ctx-core/be [2]: https://github.com/ctx-core/rmemo [3]: https://github.com/ziglang/zig/issues/1286 [4]: https://pkg.go.dev/context
  8. …Zig wants to have "package manager" at all. ? it's literally one of the project's main milestones: https://github.com/ziglang/zig/projects?type=classic
    comment by wavemode · 2024-03-16 · in Zig, Rust, and Other Languages
  9. …Similarly zig’s stdlib shouldn’t allocate behind your back, except for thread spawn where it does: https://github.com/ziglang/zig/blob/5cd7fef17faa2a40c8da23f0... Generally speaking, it’s as mentioned just a convention. A zig library might…
    comment by alchemio · 2024-03-15 · in Zig, Rust, and Other Languages
  10. Zig also has an IRC channel on libera (#zig) that is moderated by Andrew Kelley.[1] [1] https://github.com/ziglang/zig/wiki/Community
    comment by otoburb · 2024-03-14 · in Nanos – A Unikernel
  11. …. We made a decision a while ago to follow Zig's lead here and have no 'official' community space ( https://github.com/ziglang/zig?tab=readme-ov-file#community ) instead letting people form their own spaces.
    comment by eyberg · 2024-03-14 · in Nanos – A Unikernel
  12. zig https://github.com/ziglang/zig
  13. ESP32 and STM32 support is very welcome! I have been following https://github.com/ziglang/zig/issues/5467 for a while and progress seemed to have slowed significantly
  14. …of hard technical issues with LLVM, debugging, etc. I recommend checking the issue tracker, eg. https://github.com/ziglang/zig/issues/6025 I personally don't understand the domain well enough at all, but honestly, I feel like (if possible)…
    comment by TwentyPosts · 2024-02-25 · in Asynchronous clean-up
  15. …was already patched two months ago[1], by jedisct1 (author of the inimitable libsodium). [1] https://github.com/ziglang/zig/commit/21ae64852a531c36ae3166...
    comment by thadt · 2024-02-23 · in Kyber
  16. …among other things, it makes it more difficult to discover what the required type actually is. [0] https://github.com/ziglang/zig/blob/b3aed4e2c8b4d48b8b12f606... [1] https://github.com/ziglang/zig/issues/17198
  17. …is also very poorly tuned for a large number of small batch jobs, but that's a place to start. [1] https://github.com/ziglang/zig/blob/b3aed4e2c8b4d48b8b12f606...
  18. …unusual to write the C stdlib in a different language. E.g. Zig is getting a libc written in Zig: https://github.com/ziglang/zig/issues/514 Rust would work too of course. MUSL is probably the only popular C stdlib actually written in C.
  19. Thanks for the detailed reply. > You can find more details on this at https://github.com/ziglang/zig/issues/13265 . Thanks for the link, my thoughts mirror those of certik in the thread, which Andrew answered well. > at the very least, we…
    comment by MaxBarraclough · 2024-01-28 · in Zig Roadmap 2024 [video]
  20. …the build process and drops the Zig compiler binary size by a full order of magnitude - see https://github.com/ziglang/zig/issues/16270 for more deatils on that. It also allows us to implement incremental compilation on the bitcode file…
    comment by mlugg · 2024-01-27 · in Zig Roadmap 2024 [video]
  21. …important to note that we have quite a few compiler bugs which are [caused by upstream LLVM bugs]( https://github.com/ziglang/zig/issues?q=is%3Aissue+is%3Aopen... ). LLVM often ships with regressions which we report before releases come…
    comment by mlugg · 2024-01-27 · in Zig Roadmap 2024 [video]
  22. …here [0] it seems to be the latter - full removal of LLVM for all builds - which surprises me. [0] https://github.com/ziglang/zig/issues/16270
    comment by MaxBarraclough · 2024-01-27 · in Zig Roadmap 2024 [video]
  23. …helps to catch typical memory-related issues at runtime (like leaks and dangling access), e.g. see: https://github.com/ziglang/zig/blob/master/lib/std/heap/gene... Tagged-index-handles are also always an option to achieve spatial and…
    comment by flohofwoe · 2024-01-27 · in Zig Roadmap 2024 [video]
  24. …time I checked Zig still had a subtle form function coloring for function pointers. See for example https://github.com/ziglang/zig/issues/8907
  25. I am not entirely sure, but it seems they chose to return a null pointer: https://github.com/ziglang/zig/commit/32e0dfd4f0dab351a024e7...
  26. …return a * (ones - tv) + b * tv; } which still leaves some room for improvement. See for example https://github.com/ziglang/zig/issues/17274
  27. > I think this is the same in the still experimental Carbon Apparently, it's not (anymore?): https://github.com/ziglang/zig/issues/5973#issuecomment-1801...
  28. …[1] https://tutorial.ponylang.io/expressions/ops#precedence [2] https://github.com/ziglang/zig/issues/114
  29. I still think noalias-by-default is the way to fix this. https://github.com/ziglang/zig/issues/1108 You get all the benefits of Zig being able to choose the function ABI, but if the optimization would have caused a bug, you'll get an…
    comment by ForkMeOnTinder · 2024-01-05 · in Don't pass structs bigger than 16 bytes on AMD64
  30. …compiler can actually decide to pass it by reference. It does expose this kind of footgun though https://github.com/ziglang/zig/issues/5973#issuecomment-1330...
  31. …can't be created as const. There's a ticket about this here, but it's currently not high-priority: https://github.com/ziglang/zig/issues/6068 Zig also isn't alone in this, I haven't encountered any other programming language yet which has…
  32. Hmm, there's a distinct change of opinion by andrewrk from the linked issue (2022) to now https://github.com/ziglang/zig/issues/12064 (July 2022): > Hope you don't mind I'm going to reopen this issue because it concisely demonstrates a…
  33. …And maybe more work on composition, abstraction and interfaces. The issue is described here: https://github.com/ziglang/zig/issues/17985
  34. …a talk [2] that goes into details on why this is an issue. Regardless, I still love zig. [1] https://github.com/ziglang/zig/issues/12064 [2] https://youtu.be/dEIsJPpCZYg
  35. …defining it first), you cannot do error.InvalidChar(c) to give back the actual character. https://github.com/ziglang/zig/issues/2647
  36. …Also it seems like even the discussion of Geometric Algebra has been covered before 3 years ago: https://github.com/ziglang/zig/issues/7295#issuecomment-7389... Unless it's actually possible after all this time (even in some random beta)…
  37. Doesn’t this open github issue imply that vector operators are still being considered? https://github.com/ziglang/zig/issues/7295 Or is it that the three years it’s been around indicate it will never progress?
  38. …[1]: https://github.com/bytecodealliance/wit-bindgen/issues/306 [2]: https://github.com/ziglang/zig/issues/17115
    comment by n42 · 2023-11-27 · in $20k bounty was claimed
  39. Zig’s issue tracker list them [0]. [0]: https://github.com/ziglang/zig/issues?q=is%3Aopen+is%3Aissue...
    comment by KolmogorovComp · 2023-11-11 · in Hashmaps in Factor are faster than in Zig
  40. …bigger zig projects out there) noticed this issue [1]. It's also on their issue tracker [2]. [1] https://github.com/ziglang/zig/issues/17851 [2] https://github.com/tigerbeetle/tigerbeetle/issues/1191
  41. …decide for you. But what if the programmer forgets or somebody else is working on the code? [0] https://github.com/ziglang/zig/pull/17419
    comment by jiripospisil · 2023-11-10 · in Servo announces grant from the NLnet Foundation
  42. This is exactly how random floats are computed in the Zig standard library: https://github.com/ziglang/zig/pull/10428/
    comment by 10000truths · 2023-10-18 · in Higher quality random floats
  43. …support for exactly this type of OOM testing in Zig via std.testing.checkAllAllocationFailures: - https://github.com/ziglang/zig/blob/1606717b5fed83ee64ba1a91... - https://www.ryanliptak.com/blog/zig-intro-to-check-all-alloc...
    comment by squeek502 · 2023-09-27 · in Arena allocator tips and tricks
  44. Zig has arena allocator in the standard library https://github.com/ziglang/zig/blob/master/lib/std/heap/aren...
    comment by Cloudef · 2023-09-27 · in Arena allocator tips and tricks
  45. …still available via the zig build system. longer version: I think this is the relevant link here: https://github.com/ziglang/zig/issues/16270#issuecomment-161... as you can see the proposal "make the main zig executable no longer depend on…
  46. ▲ 14
    Clang is being replaced by Aro (a C compiler written from scratch in Zig)
    story by DyslexicAtheist · 2023-09-22 · 2 comments
  47. For Zig this is planned via labeled continue syntax inside switch expressions: https://github.com/ziglang/zig/issues/8220 As mentioned in the proposal, this would even allow implementation of Duff's Device in Zig :-o
    comment by AndyKelley · 2023-09-19 · in Memory-efficient enum arrays in Zig
  48. …whether or not it will be possible in practice is a different (and interesting!) question. [1]: https://github.com/ziglang/zig/issues/2646 [2]: https://github.com/ziglang/zig/issues/2301
    comment by gpanders · 2023-09-18 · in Memory-efficient enum arrays in Zig
  49. This is the context that the parent poster is referring to. https://github.com/ziglang/zig/issues/14172#issuecomment-164... Yes, it's petty stuff.
    comment by kristoff_it · 2023-09-17 · in Bounties Damage Open Source Projects
  50. The contributors are expected to follow code of conduct: https://github.com/ziglang/zig/blob/master/.github/CODE_OF_C... At least these lines sounds reasonable: Examples of behavior that contribute to creating a positive environment…
    comment by tener · 2023-09-17 · in Bounties Damage Open Source Projects