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. …to adopt this over libc, citing concerns about "libc not existing on certain configurations"[1] [1] https://github.com/ziglang/zig/issues/1840
    comment by sedatk · 2024-11-07 · in Linux Syscall Support
  2. …this for instance (at least for x86_64 linux [0]) as a way to avoid having to link libc at all [0] https://github.com/ziglang/zig/blob/ee9f00d673f2bccddc2751c3...
    comment by jcalabro · 2024-11-07 · in Linux Syscall Support
  3. …you can see it's calling the user defined main function and handling its return value / error. https://github.com/ziglang/zig/blob/2d888a8e639856e8cb6e4c6f... > Also, what happened to argv/argc? You can access argv with std.os.argv which…
    comment by jiripospisil · 2024-10-22 · in Zig is everything I want C to be
  4. …choice to directly develop against a mostly undocumented NT-API instead of the Win32 API. [1]: https://github.com/ziglang/zig/issues/1840
  5. …While browser aren't effected, this broke compatibility with at least Zig's HTTP client. => https://github.com/ziglang/zig/issues/21674 zig fetch does not work with sqlite.org
    comment by MatthiasPortzel · 2024-10-13 · in CRLF is obsolete and should be abolished
  6. > And there's also the aliasing issue Plans to address this were shared just last week: https://github.com/ziglang/zig/issues/5973#issuecomment-2380...
  7. I believe these are the issues: https://github.com/golang/go/issues/52690 https://github.com/ziglang/zig/issues/14989
    comment by dwattttt · 2024-10-02 · in The Fastest Mutexes
  8. …Zig, e.g. [0]). Two things: 1. People who link that issue often forget about Andrew's comments ( https://github.com/ziglang/zig/issues/16270#issuecomment-161... , https://github.com/ziglang/zig/issues/16270#issuecomment-161... , example:…
    comment by cornstalks · 2024-10-02 · in Pledging $300k to the Zig Software Foundation
  9. …forced to code a certain way, why not just use Rust and get free memory safety out of it too? [0] https://github.com/ziglang/zig/issues/16270
  10. That would be a good reason. The thing is that it is present in many distributions. https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Packa... Perhaps the foundational distros are stricter.
  11. More info https://github.com/ziglang/zig/issues/16270#issuecomment-161...
  12. I raise you https://github.com/ziglang/zig/issues/20875 It is not entirely clear what any of this means for the future, and in any case, it keeps changing all the time. The promise to maintain LLVM support just applies to Zig code . That…
  13. …will it be shipping clang so you can build other code with it, they aren't removing LLVM support. https://github.com/ziglang/zig/issues/16270#issuecomment-205...
  14. Which doesn't mean what you're implying it means: https://github.com/ziglang/zig/issues/16270#issuecomment-161...
  15. Zig is divorcing itself from Clang: https://github.com/ziglang/zig/issues/16270
  16. …continue statements to target specific switch cases. Like computed-gotos in C. - Zig issue: https://github.com/ziglang/zig/issues/8220 - Release notes: https://github.com/ziglang/zig/pull/21257#issuecomment-23368...
    comment by simonklee · 2024-09-10
  17. …break. This is why Zig's close method[0] ignores errors (with the exception of `EBADF`). [0]: https://github.com/ziglang/zig/blob/fb0028a0d7b43a2a5dd05f07...
    comment by trashburger · 2024-09-08 · in Don't defer Close() on writable files (2017)
  18. …kit isn’t on a good level yet to replace C in Linux. And, there’s still no good and fast allocator: https://github.com/ziglang/zig/issues/12484
  19. …genuinely, since if not it seems like an easy way for someone to inject a KTH (Ken Thompson Hack): https://github.com/ziglang/zig/commits/master/stage1/zig1.wa...
    comment by maxdamantus · 2024-08-27 · in Writing a Rust compiler in C
  20. Zig is moving away from LLVM ( https://github.com/ziglang/zig/issues/16270 ) and Rust has added Cranelift as a debug backend ( https://lwn.net/Articles/964735/ ). Not sure about Jai.
  21. …well (which would force you to use build.zig), but I don't think it's been decided to do that. [1] https://github.com/ziglang/zig/issues/20630#issuecomment-225...
    comment by mk12 · 2024-07-30 · in C Macro Reflection in Zig
  22. …I not only write Zig code almost daily, I’ve personally contributed to the Zig build system. [0]: https://github.com/ziglang/zig/issues/20630
    comment by jay-barronville · 2024-07-30 · in C Macro Reflection in Zig
  23. …= target, .optimize = optimize, }); exe.root_module.addImport("c", translate_c.createModule()); https://github.com/ziglang/zig/issues/20648
    comment by kbolino · 2024-07-30 · in C Macro Reflection in Zig
  24. See: https://github.com/ziglang/zig/issues/16270#issuecomment-161... The ability to seamlessly compile C/C++/ObjC code within a Zig project is extremely important for me as well, but I'm fine with that job being delegated to a Zig package…
    comment by flohofwoe · 2024-07-30 · in C Macro Reflection in Zig
  25. …functionality isn't going anywhere, just the method of achieving said functionality is changing: https://github.com/ziglang/zig/issues/16270#issuecomment-161... https://github.com/ziglang/zig/issues/16270#issuecomment-161...
    comment by Laremere · 2024-07-30 · in C Macro Reflection in Zig
  26. …they want this functionality out of the language so they can remove libclang dependency. [0]: https://github.com/ziglang/zig/issues/20630
    comment by skywal_l · 2024-07-30 · in C Macro Reflection in Zig
  27. We would need more branch hints? https://github.com/ziglang/zig/issues/5177 Cold, warm, warmer, omit hot as it is the default? Sometimes you would set all branches to be cold except one
  28. …macOS uses Zig's own linker since roughly 2021 as far as I recall. Tracking issue for reference: https://github.com/ziglang/zig/issues/8726
    comment by kubkon · 2024-07-21 · in Aro – Zig's new C compiler
  29. It's the major area of focus right now. You can track the issues with this tag/link if you'd like: https://github.com/ziglang/zig/issues?q=is%3Aissue+is%3Aopen...
    comment by samatman · 2024-07-20 · in Aro – Zig's new C compiler
  30. Is this part of the long-term plan for zig to get rid of the dependency on clang/llvm? https://github.com/ziglang/zig/issues/16270
    comment by livrem · 2024-07-20 · in Aro – Zig's new C compiler
  31. …out in the post). Here's the relevant issue/comment, which makes me think this won't happen in Zig: https://github.com/ziglang/zig/issues/3897#issuecomment-7389...
  32. …to the mix and you get a slow ass compilation time even in Zig (See Zig filing divorce from LLVM https://github.com/ziglang/zig/issues/16270 ). Granted, LLVM isn't the only thing to blame. Rust has its own share of problems stemming from…
  33. …to just write the C corresponding header files yourself, the issue mentions a couple of examples. https://github.com/ziglang/zig/issues/9698#issuecomment-9747...
    comment by frankjr · 2024-06-07 · in Zig Goals
  34. Good news! If all goes well, seems that 0.14.0 will bring async/await https://github.com/ziglang/zig/issues/6025
    comment by punkbit · 2024-06-07 · in Zig 0.13.0 Release Notes
  35. I agree. Below is the direct link in case one of the moderators see this and want to update. https://github.com/ziglang/zig/blob/4236b85c722b36cb31595634...
    comment by thangngoc89 · 2024-06-07 · in Zig Goals
  36. There is an issue proposing this approach: https://github.com/ziglang/zig/issues/4284
    comment by tiehuis · 2024-04-23 · in Memory-mapped IO registers in zig (2021)
  37. Note TLS/HTTPS is still not working https://github.com/ziglang/zig/issues/14172
    comment by 38 · 2024-04-21 · in Zig Language 0.12 Release
  38. 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
  39. 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
  40. …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
  41. …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
  42. …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
  43. …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
  44. …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
  45. …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
  46. 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
  47. …. 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
  48. zig https://github.com/ziglang/zig
  49. 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
  50. …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