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
20082026
-
…https://github.com/espressif/llvm-project/issues/4#issuecomm... https://github.com/ziglang/zig/issues/5467#issuecomment-1465...
comment by weitzj · 2023-03-18 · in LLVM 16.0.0 Release -
…there does seem to be community interest in metadata annotations for external static analysis https://github.com/ziglang/zig/issues/14656 ] Although I only have a beginner knowledge of the language, it seems to me that Zig is just on the…
comment by kps · 2023-03-10 · in Zig: The Modern Alternative to C -
…or tooling to find unused variables. It's quite an ironic outcome if you think about it. [1]: https://github.com/ziglang/zig/pull/12803
comment by rom-antics · 2023-03-10 · in Zig: The Modern Alternative to C -
…in the stdlib, but it has some limitations and there is some discussion to change it or remove it https://github.com/ziglang/zig/issues/8224 Some Zig libraries implementing an event loop: - libxev by Mitchell Hashimoto…
comment by fbouvier · 2023-03-10 · in Zig: The Modern Alternative to C -
…example is considering triggering an error for incorrectly indented code/misleading indentation: https://github.com/ziglang/zig/issues/35
comment by ngrilly · 2023-03-03 · in Why Python keeps growing, explained -
…to provide a at least an AST to ensure annotations have known + unique semantics as I explain in https://github.com/ziglang/zig/issues/14656#issuecomment-143... . I would say that this is a primitive quasi-type check decoupled from main…
comment by matu3ba · 2023-02-27 · in Zig's multi-sequence for loops -
…Zig meta-programming to actually be fairly readable, here's the function that does the formatting: https://github.com/ziglang/zig/blob/master/lib/std/fmt.zig
comment by Laremere · 2023-02-27 · in Zig's multi-sequence for loops -
…function is implemented in the std library[1] not the compiler and Zig does not have varargs [1] https://github.com/ziglang/zig/blob/f6c934677315665c140151b8...
comment by quic5 · 2023-02-27 · in Zig's multi-sequence for loops -
I don't speak for Jarred or Andrew, but here is a recent exchange between them about this matter: https://github.com/ziglang/zig/issues/14542#issuecomment-141... The tension is understandable: Zig is explicitly not production-ready, yet it…
comment by hryx · 2023-02-25 · in Bun v0.5.7 -
…it'll 'just work' as claimed for the Go use case, so best not to claim otherwise until then. [0] https://github.com/ziglang/zig/issues/1349
comment by slimsag · 2023-02-12 · in Purego – A library for calling C functions from Go without Cgo -
…eliminate the goroutine -> OS thread switching overhead. [0] https://github.com/hexops/mach [1] https://github.com/ziglang/zig/issues/157
comment by slimsag · 2023-02-12 · in Purego – A library for calling C functions from Go without Cgo -
…else. I don't see how this is much worse? What you seem to be looking for is an "unused function" ( https://github.com/ziglang/zig/issues/335 ) error instead as it catches that case unless you use the function in a branch that's not part…
comment by nyberg · 2023-02-11 · in How a Zig IDE Could Work -
…as anytype, so zls auto-completion doesn't work. Also see: comptime interfaces proposal https://github.com/ziglang/zig/issues/1268
comment by nusaru · 2023-02-10 · in How a Zig IDE Could Work -
…have done great contribution for async I/O in the Zig community: - io_uring support on the std lib https://github.com/ziglang/zig/pull/6356 - a cross-platform io_uring based event loop https://github.com/tigerbeetledb/tigerbeetle/tree/main/…
comment by fbouvier · 2023-01-31 · in TigerBeetle raises $6.4M to power the future of financial accounting infra -
…I’d expected at this point. Though, I am still curious what the end game IDE support would look. https://github.com/ziglang/zig/issues/3028 is a big component of that.
comment by matklad · 2023-01-31 · in TigerBeetle raises $6.4M to power the future of financial accounting infra -
…code, executed at compile-time. No magic, no macros, fully compile-time error-checked formatting. https://github.com/ziglang/zig/blob/master/lib/std/fmt.zig#L...
comment by dilap · 2023-01-16 · in Rust vs. C++ Formatting -
…See also why even "intentionally C-like" languages like Zig are growing increasing complexity https://github.com/ziglang/zig/issues/7769 Or why things like D's betterC adds all the same "objectionable" stuff C++ does - RAII, operator…
comment by kllrnohj · 2023-01-13 · in Care is needed to use C++ std:optional with non-trivial objects -
…of releases each. For a good read of how weird these can be here is a bug report from last month https://github.com/ziglang/zig/issues/13480
comment by zamadatix · 2023-01-11 · in A Zig Diary -
https://github.com/ziglang/zig/pull/14265
comment by usdogu · 2023-01-11 · in A Zig Diary -
Is a package manager still in the works? A rudimentary search led me to this GitHub issue: https://github.com/ziglang/zig/issues/943
comment by stoicjumbotron · 2023-01-11 · in A Zig Diary -
…those are required for the borrow checker or safety, but it's a philosophical design decision. 1: https://github.com/ziglang/zig/issues/1251
comment by elcritch · 2022-12-30 · in 50 years of C, the good, the bad and the ugly [video] -
…> Zig is a programming language, but it also ships with a package manager Which is not true: https://github.com/ziglang/zig/issues/943 > Zig has no macros and no metaprogramming Literally from Zig's homepage ( https://ziglang.org/ ):…
comment by henry_viii · 2022-12-26 · in I wrote a Ruby extension in Zig -
…a zig-help channel that's pretty responsive if you're ok with Discord. The archive is searchable. https://github.com/ziglang/zig/wiki/Community#discord-englis... . GitHub's code search beta is a good way to find out how other people are…
comment by modernerd · 2022-12-26 · in I wrote a Ruby extension in Zig -
…zstd compression on the wasm artifact in this commit [0] for the reasons you mention [1]. [0] https://github.com/ziglang/zig/commit/c51288f1f6be20be9f162c... [1] https://github.com/ziglang/zig/pull/13821#issuecomment-13448...
comment by tiehuis · 2022-12-11 · in Goodbye to the C++ Implementation of Zig -
…be used throughout the ecosystem and so it interacts better with tooling (e.g. doc generation). [0] https://github.com/ziglang/zig/issues/1268
comment by losvedir · 2022-11-17 · in Easy Interfaces with Zig 0.10 -
To summarize: 1. https://github.com/ziglang/zig/issues/1291 2. wrong 3. wrong
comment by AndyKelley · 2022-10-29 · in Why is D's garbage collection slower than Go's? -
…worth the effort in the long run. The discussion wasn't about the existence of basic unit tests. https://github.com/ziglang/zig/tree/master/test
comment by kristoff_it · 2022-10-26 · in Zig Is Self-Hosted Now, What's Next? -
The bug that's currently blocking me from any work using master is https://github.com/ziglang/zig/issues/12325 That's not really a bug related to unfinished features that might get replaced anyways, but simply one involving recursive…
comment by j-pb · 2022-10-25 · in Zig Is Self-Hosted Now, What's Next? -
…for a swift journey, arriving at our destination early, and then busting out the hardcore QA. I see https://github.com/ziglang/zig/issues/13211 mentioned elsewhere in this thread. I want to point out that getting the C ABI correct when…
comment by AndyKelley · 2022-10-25 · in Zig Is Self-Hosted Now, What's Next? -
…good number of known miscompilations, I can substantiate for the parent poster with a simple link: https://github.com/ziglang/zig/labels/miscompilation It's also true that the self-hosted compiler has caused new bugs to pop up, which in…
comment by kristoff_it · 2022-10-25 · in Zig Is Self-Hosted Now, What's Next? -
Here's a pretty substantial bug from just a week ago: https://github.com/ziglang/zig/issues/13211
comment by mirashii · 2022-10-25 · in Zig Is Self-Hosted Now, What's Next? -
…a good systems language needs to be designed to accommodate the needs of the outside world. [0] https://github.com/ziglang/zig/issues/265#issuecomment-46337...
comment by cyber_kinetist · 2022-10-17 · in Learn enough C to survive -
…wrappers implemented in "std". Which is nice for usecases like databases or networked services) https://github.com/ziglang/zig/blob/42a3b60c331cf01d1ab80eb7...
comment by gavinray · 2022-10-13 · in A database without dynamic memory allocation -
You could’ve found out in 5 seconds if you had looked at https://github.com/ziglang/zig but instead you decided to make this useless post
comment by idiosk · 2022-10-13 · in Ask HN: Is the Zig programming language dead? -
…been implemented for the last 6 years made me even less confident about the future of the project: https://github.com/ziglang/zig/issues/68 Even from this post: https://andrewkelley.me/post/full-time-zig.html Of all the Zig projects the…
comment by chris2860 · 2022-10-12 · in Ask HN: Is the Zig programming language dead? -
https://github.com/ziglang/zig/commits/master daily commits, certainly not dead
comment by rurban · 2022-10-12 · in Ask HN: Is the Zig programming language dead? -
Doesn't look dead for me. A bunch of things not updated due to resource shortage, methinks. https://github.com/ziglang/zig/graphs/contributors
comment by cabirum · 2022-10-12 · in Ask HN: Is the Zig programming language dead? -
…are maliciously claiming incorrect things about zig over and over. Here I am refuting them again. https://github.com/ziglang/zig/issues/1291 This is an open issue from 2018 that I opened that specifically acknowledges this as a valuable…
comment by AndyKelley · 2022-10-06 · in What Makes the Zig Programming Language Unique? -
Here are some examples of "obvious" miscompilations like this: https://github.com/ziglang/zig/issues/10349 https://github.com/ziglang/zig/issues/9810 https://github.com/ziglang/zig/issues/8952 https://github.com/ziglang/zig/issues/4491…
comment by puffoflogic · 2022-10-04 · in Goal: Pass all 4259065 tests in sqllogictest in 1 week -
If parent is referring to what I think she/he is referring to, then it's something like this: https://github.com/ziglang/zig/issues/6768 . Keep in mind this is only to do with comptime not runtime. So not ideal, but not catastrophic in the…
comment by dwohnitmok · 2022-10-03 · in Goal: Pass all 4259065 tests in sqllogictest in 1 week -
…it lacks RAII when convenient and its return value semantics (much like Carbon's) is a footgun: https://github.com/ziglang/zig/issues/5973 .
comment by nyanpasu64 · 2022-09-18 · in CppCon 2022 -
…The community is decentralized - does that mean they are building in community AND in public? [0] https://github.com/ziglang/zig/wiki/Community
comment by benjaminjosephw · 2022-09-16 · in Building in community -
> https://github.com/ziglang/zig/issues/12040 This one is quite funny. Normally you'd use `if (a) ... else |b| ...` if the type of `a` was an error union, and you'd get the `if` branch if it was not an error and the `else` branch if it was…
comment by anonymoushn · 2022-09-11 · in Zig VP of community comments on Rust -
…because I have seen some less egrigious intermittent miscompilations in stage1 such as this one: https://github.com/ziglang/zig/issues/11786 I cannot provide the full program in which it failed, and the small programs I tried did not cause…
comment by anonymoushn · 2022-09-11 · in Zig VP of community comments on Rust -
It's a known issue, idk, look it up in the github issues. https://github.com/ziglang/zig/issues/3882 is related but not quite the same thing. ETA: Oh this is even better: `if (false)` code can (as of 0.10) run even outside field…
comment by puffoflogic · 2022-09-11 · in Zig VP of community comments on Rust -
…workarounds and enforces something we automated long ago in the form of dead code elimination. [0] https://github.com/ziglang/zig/issues/335#issuecomment-43526...
comment by alpaca128 · 2022-09-10 · in Game Jam 2 Results -
…to add a respectful comment on the issue on github to emphasize the UX issues it creates. issue: https://github.com/ziglang/zig/issues/335
comment by fuu_dev · 2022-09-09 · in Game Jam 2 Results -
…be upstream (of course not default, but under a flag/different build mode/config option). [0]: https://github.com/ziglang/zig/issues/335#issuecomment-10138...
comment by bmacho · 2022-09-08 · in Zig, the Small Language -
…try your type and see if it compiles. That's a valid point indeed and there's an issue for that: https://github.com/ziglang/zig/issues/1268
comment by skywal_l · 2022-09-08 · in Revisiting the design approach to Zig