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
-
Zig does not have varargs. They were removed in favor of anonymous structs/tuples. See https://github.com/ziglang/zig/issues/208#issuecomment-39377... .
comment by edflsafoiewq · 2021-01-03 · in Zig in 30 Minutes -
…the linker invocation with `--verbose-link` on the end of that. The issue tracking the problem is: https://github.com/ziglang/zig/issues/7133
comment by grayrest · 2020-12-20 · in How Shopify Uses WebAssembly Outside of the Browser -
…of this would be compiling stuff to GPUs, e.g. SPIR-V. Such things are planned but not implemented. https://github.com/ziglang/zig/issues/2683 * Things that will never be in scope. An example of this would be code obfuscation, which is a…
comment by AndyKelley · 2020-12-14 · in Zig 0.7.1 Released – 69 bugs fixed -
> I can't find the link Here you go! https://github.com/ziglang/zig/issues/6378
comment by AndyKelley · 2020-12-13 · in Zig 0.7.1 Released – 69 bugs fixed -
Another example, Zig landed io_uring in the std lib a month ago: https://github.com/ziglang/zig/pull/6356 I'm also really excited by how you can use io_uring to power everything (fs, networking etc.) with one easy api and a single-threaded…
comment by jorangreef · 2020-11-27 · in How io_uring and eBPF Will Revolutionize Programming in Linux -
Thanks. Now searching through issues I see: https://github.com/ziglang/zig/issues/5246 and the most recent entry (Sep 2): "The plan for this is now to, at some strategic moment, utilize the C backend of stage2 to do a one time thing where…
comment by acqq · 2020-11-10 · in Zig 0.7.0 Release Notes -
▲ 2
Zig v0.7.0 Taggedstory by todsacerdoti · 2020-11-08 · 0 comments
-
…bugs in that C/C++ code. Worth noting that UB is also checked in ReleaseSafe mode. Related issue: https://github.com/ziglang/zig/issues/2301
comment by xandroo · 2020-11-08 · in Zig 0.7.0 tagged -
https://github.com/facebook/folly https://github.com/ziglang/zig
comment by latenightcoding · 2020-10-28 · in Ask HN: Good C++ code bases to read? -
…and could be compiled to C code. Zig will eventually have this feature. It is a work-in-progress: https://github.com/ziglang/zig/blob/master/src/codegen/c.zig
comment by Jayschwa · 2020-10-21 · in Assorted Thoughts on Zig and Rust -
I believe zig does not intend to implement this eg https://github.com/ziglang/zig/issues/2479#issuecomment-5709... Naming conventions seem like the way to go.
comment by jamii · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
…and anyone is free to start their own space, as stated in the Community wiki page of the project https://github.com/ziglang/zig/wiki/Community So when it comes to Discord servers, at the moment of writing there are two listed in that…
comment by kristoff_it · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
…this in the Zig math tests, where it tests calling the same function at both comptime and runtime: https://github.com/ziglang/zig/blob/33c4ad7f3a79aad5d7ea481a...
comment by dinglejungle · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
…to the people who have opened pull requests on Zig and help them get their code merged. [1]: https://github.com/ziglang/zig/projects/3
comment by AndyKelley · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
Yes, but eventually, no https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
comment by steveklabnik · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
…consumers up for DOS attacks with malformed utf-8 inputs. EDIT: DOS vulnerability is still there ( https://github.com/ziglang/zig/blob/master/lib/std/unicode.z... , PR to fix that was closed https://github.com/ziglang/zig/pull/4929 ). I…
comment by _u9xp · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
Zig has high interoperability with C and plans to have a C backend as well. https://github.com/ziglang/zig/issues/3772
comment by AnIdiotOnTheNet · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
…for me. I've had a few small side projects I wanted to do which involved exposing an API. (1) https://github.com/ziglang/zig/issues/910 (2) https://github.com/ziglang/zig/issues/2007
comment by latch · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
For the time being, https://github.com/ziglang/zig/issues/2018
comment by pjmlp · 2020-09-29 · in Zig's New Relationship with LLVM -
…that I see on the download page is: >Releases >You can also [install Zig from a package manager.]( https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Packa... ) Going by the AUR package script and the table in the wiki itself, those…
comment by Arnavion · 2020-09-28 · in Zig's New Relationship with LLVM -
…that some aspects will change. E.g. I'm in favour of some of the (more minimal) suggestions here: https://github.com/ziglang/zig/issues/1669
comment by pron · 2020-09-28 · in Zig's New Relationship with LLVM -
…a design principle of Zig's, and not just the current state of the project? @andrewrk's comments at https://github.com/ziglang/zig/issues/130 lead me to believe that it's still undecided. (To be clear, I don't use Zig, yet.)
comment by creata · 2020-09-28 · in Zig's New Relationship with LLVM -
…bike shedding Zig 1.0 won't have this restrictions anymore. More information can be found here: https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m... https://github.com/ziglang/zig/issues/544
comment by ikskuh · 2020-09-28 · in Zig's New Relationship with LLVM -
…always detect use-after-free even with all safety flags on. It seems progress is being made though. https://github.com/ziglang/zig/issues/3180
comment by nyanpasu64 · 2020-09-28 · in Zig's New Relationship with LLVM -
…at https://ziglearn.org/ immediately fails with the installable zig binary from Arch (0.6.0) due to https://github.com/ziglang/zig/issues/5683 I'd never heard of zig until now, but as a community having top level "how to get started"…
comment by gravitas · 2020-09-28 · in Zig's New Relationship with LLVM -
Quick bootstrapping is one of the goals for 1.0. Related issue: https://github.com/ziglang/zig/issues/6378
comment by kristoff_it · 2020-09-28 · in Zig's New Relationship with LLVM -
Also relevant concerning the "No 5" contributor, Mr. Tate: https://github.com/ziglang/zig/issues/1530 That link is what the statement references as a sign of Mr. Tate's "flawed technical arguments". I'll admit I'm an outsider and a bit…
comment by mkeedlinger · 2020-09-16 · in Statement Regarding the Zen Programming Language -
…I immediately reverted the commit in question[1] and then I fixed the bug independently[2]. [1]: https://github.com/ziglang/zig/commit/8ed88280a62f2a400d00b5... [2]: https://github.com/ziglang/zig/commit/9050a07540b7387dade818...
comment by AndyKelley · 2020-09-15 · in Statement Regarding the Zen Programming Language -
Here's one example: https://github.com/ziglang/zig/pull/2701
comment by ifreund · 2020-09-15 · in Statement Regarding the Zen Programming Language -
Relevant: https://github.com/ziglang/zig/commit/3ca4925709ac6369391eb4...
comment by jhardy54 · 2020-09-15 · in Statement Regarding the Zen Programming Language -
…one in version 0.8.0, indicatively 6 months from now. If you want to help speed the development up: https://github.com/ziglang/zig to contribute https://github.com/sponsors/ziglang (or email us at donations@ziglang.org) to donate
comment by kristoff_it · 2020-09-15 · in Statement Regarding the Zen Programming Language -
A simple search on github will show what I worked on: https://github.com/ziglang/zig/search?q=author%3Akristate&un...
comment by kristopher · 2020-09-15 · in Statement Regarding the Zen Programming Language -
On whose authority was https://github.com/ziglang/zig/pull/2701 made, and what are the implications for the Zig project now that the referenced commit ( https://github.com/ziglang/zig/commit/aa60d2a688c965dcccf8e2... ) is part of the…
comment by kstenerud · 2020-09-15 · in Statement Regarding the Zen Programming Language -
Here is a proposal for cleaner error handling, using named catch blocks: https://github.com/ziglang/zig/issues/5421
comment by networkimprov · 2020-08-27 · in Interview with Zig language creator Andrew Kelley [video] -
(Small copy past error here, you posted the same link twice.) Regarding https://github.com/ziglang/zig/pull/5998 here we're exactly in the realm of C, changing the allocator with a custom one with additional bookkeeping to check for memory…
comment by littlestymaar · 2020-08-27 · in Interview with Zig language creator Andrew Kelley [video] -
> https://github.com/ziglang/zig/pull/5998 TBD :) But here's one way that's currently being tried: https://github.com/ziglang/zig/pull/5998
comment by pron · 2020-08-27 · in Interview with Zig language creator Andrew Kelley [video] -
…Zig goes further than that. In particular it just added a safe allocator suitable for production, https://github.com/ziglang/zig/pull/5998 edit: For more details, see https://ziglang.org/#Performance-and-Safety-Choose-Two
comment by azakai · 2020-08-27 · in Interview with Zig language creator Andrew Kelley [video] -
…accepted hard tabs, then in practice, there would be accidental mixing of tabs and spaces. [1]: https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m... [2]: https://github.com/ziglang/zig/issues/544g
comment by nyberg · 2020-07-16 · in Announcing The Zig Software Foundation -
You can see the planned releases in the milestones on GitHub: https://github.com/ziglang/zig/milestones I would say at least two more years then.
comment by schroffl · 2020-07-12 · in Announcing The Zig Software Foundation -
…and what people are using in reality is the stage1 compiler, which does not accept hard tabs. https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
comment by gmcabrita · 2020-07-11 · in Announcing The Zig Software Foundation -
Answered clearly here https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
comment by O_H_E · 2020-06-28 · in Using Zig to provide stack traces on kernel panic on bare metal (2018) -
▲ 2
In Zig, let 'catch' define named error handlersstory by networkimprov · 2020-06-19 · 0 comments
-
…much in terms of memory safety, Zig [1] might be a better alternative + it actually exists. 1 - https://github.com/ziglang/zig
comment by AsyncAwait · 2020-05-23 · in Ask HN: What startup/technology is on your 'to watch' list? -
Zig. There's a Why Zig When There is Already CPP, D, and Rust? writeup at https://github.com/ziglang/zig/wiki/Why-Zig-When-There-is-Al...
comment by chx · 2020-05-23 · in Ask HN: What startup/technology is on your 'to watch' list? -
…is one other language that managed to avoid that problem too by using compile-time magic [0]. [0] https://github.com/ziglang/zig/issues/1778
comment by MrBuddyCasino · 2020-05-16 · in State of Loom -
There's ongoing work to add support for generating arbitary types at compile time: https://github.com/ziglang/zig/issues/383 .
comment by logicchains · 2020-05-06 · in Circle – A C++ compiler with compile-time imperative metaprogramming -
…offering there help it would be annoying. There are already more that three hundreds proposals: https://github.com/ziglang/zig/issues?q=is%3Aissue+is%3Aopen... A lot of them are about the syntax. Maybe this won't be endless but I'm sure a…
comment by kreco · 2020-04-29 · in Better C – A subset of D Programming Language -
…complaint at all. Perhaps you could you elaborate, provide a reference, or soften your stance? [1]: https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...
comment by schaefer · 2020-04-28 · in Better C – A subset of D Programming Language -
…actively in development with an engaging and helpful community.[2] [1]: https://ziglang.org/ [2]: https://github.com/ziglang/zig/wiki/Community
comment by anand-bala · 2020-04-21 · in Why should I have written ZeroMQ in C, not C++ (2012) -
…but still WIP? Is there a commit or series of commits showing recent targets that got support? [1] https://github.com/ziglang/zig/issues/853
comment by wyldfire · 2020-03-26 · in Zig cc: A drop-in replacement for GCC/Clang