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
-
…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 -
▲ 44
Old Zig compiler (in C++) was nuked todaystory by BratishkaErik · 2022-12-07 · 4 comments
-
…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 -
▲ 4
Nuke the C++ implementation of Zig from orbit using WASIstory by gbrown_ · 2022-11-16 · 0 comments
-
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 -
Maybe this: https://github.com/ziglang/zig/issues/335#issuecomment-10138...
comment by strager · 2022-09-08 · in Zig, the Small Language -
Yeah I miss interfaces/traits as well, see https://github.com/ziglang/zig/issues/1268 related open issue.
comment by bouiaw · 2022-09-07 · in Zig, the Small Language -
…even more trivial things like public/private and var/const before it will even compile your code. https://github.com/ziglang/zig/issues/335 https://github.com/ziglang/zig/issues/224 Maybe I'm a bad developer, but my code is never perfect…
comment by TakeBlaster16 · 2022-09-07 · in Zig, the Small Language -
▲ 9
Zig: Compile Errors for Unused Thingsstory by TakeBlaster16 · 2022-09-07 · 5 comments
-
…comment, but when I consider the code I have left in me, I'd like it to look as nice as possible. 0 https://github.com/ziglang/zig/issues/1097
comment by ibiza · 2022-08-28 · in I like Odin -
…and both Nim and Zig interface with libc. Zig does not depend on libc on Linux, for example: https://github.com/ziglang/zig/blob/master/lib/std/os/linux.... You can choose to link libc though.
comment by generichuman · 2022-08-26 · in Hooking Go from Rust -
…depending on the differences between the stage1 and stage2 backend, respectively. Related: https://github.com/ziglang/zig/issues/12183
comment by AndyKelley · 2022-08-20 · in Zig is now self–hosted by default -
…[2]: https://ziglang.org/documentation/master/#Error-Return-Trace... [3]: https://github.com/ziglang/zig/blob/4a98385b0aa3808ab05a1ebf...
comment by AndyKelley · 2022-08-20 · in Zig is now self–hosted by default -
…know about it until today, very impressive. Generic SoA in less than 500 lines of userland code... https://github.com/ziglang/zig/blob/master/lib/std/multi_arr...
comment by sekao · 2022-08-20 · in Zig is now self–hosted by default -
Originally it was meant to be https://github.com/ziglang/zig/issues/89#issuecomment-122118... , but somehow last aprt was stripped. But that doesn't matter, thank you so much! New URL is definitely better.
comment by BratishkaErik · 2022-08-20 · in Zig is now self–hosted by default -
We changed the URL from https://github.com/ziglang/zig/issues/89 .
comment by dang · 2022-08-20 · in Zig is now self–hosted by default -
Yep, https://github.com/ziglang/zig/issues/6378
comment by nyberg · 2022-08-20 · in Zig is now self–hosted by default -
▲ 112
Zig Self-Hosted Compiler Upgrade Guidestory by generichuman · 2022-08-20 · 2 comments
-
…upgrade immediately. See the full upgrade guide [3] for help deciding when and how to upgrade. [1]: https://github.com/ziglang/zig/tree/master/src/stage1 [2]: https://github.com/ziglang/zig/tree/master/src [3]:…
comment by AndyKelley · 2022-08-20 · in Zig is now self–hosted by default -
▲ 387
Zig is now self–hosted by defaultstory by BratishkaErik · 2022-08-20 · 111 comments
-
…and can instead use the stdlib that already exists to automagically get that functionality. [0]: https://github.com/ziglang/zig/blob/master/src/stage1/os.hpp [1]: https://github.com/ziglang/zig/blob/a9c4dc84f487c4764c578743...
comment by _gabe_ · 2022-08-15 · in Will Bun JavaScript Take Node's Crown -
…the programming language Bun is written on, is currently having some Windows headaches of its own: https://github.com/ziglang/zig/issues/12420 I wonder how much of Bun's immaturity is due to Zig's own immaturity.
comment by Hamcha · 2022-08-14 · in Will Bun JavaScript Take Node's Crown -
…bit pattern to directly generate the exponent. This is what is done in the Zig standard library: https://github.com/ziglang/zig/pull/10428
comment by 10000truths · 2022-08-06 · in Original source of `(seed * 9301 and 49297) % 233280` random algorithm? (2014) -
…to edit, but related: https://news.ycombinator.com/item?id=27089184 , immutable pointer aliasing, https://github.com/ziglang/zig/issues/4021 .
comment by nyanpasu64 · 2022-07-31 · in Carbon’s most exciting feature is its calling convention -
▲ 1
Improved handling of strings and Unicode (2017)story by silasdb · 2022-07-24 · 0 comments
-
There is an accepted (but as of yet unimplemented) proposal to fix just that: https://github.com/ziglang/zig/issues/7257#issuecomment-1030...
comment by Aransentin · 2022-07-22 · in Some Thoughts on Zig