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
-
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 -
▲ 7
Zig Language 0.12 Releasestory by lr1970 · 2024-04-20 · 2 comments
-
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 -
…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 -
…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
comment by briantakita · 2024-03-25 · in Context: The Missing Feature of Programming Languages -
…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 -
…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 -
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 -
…. 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 -
zig https://github.com/ziglang/zig
comment by Cloudef · 2024-03-10 · in Ask HN: What underrated open source project deserves more recognition? -
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
comment by 22c · 2024-02-28 · in MicroZig: Unified abstraction layer and HAL for Zig on several microcontrollers -
…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 -
…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
comment by jiripospisil · 2024-02-07 · in Show HN: Tokamak – Server-side framework for Zig -
…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...
comment by latch · 2024-02-07 · in Show HN: Tokamak – Server-side framework for Zig -
…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.
comment by flohofwoe · 2024-02-04 · in New Linux glibc flaw lets attackers get root on major distros -
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] -
…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] -
…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] -
…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] -
…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] -
…time I checked Zig still had a subtle form function coloring for function pointers. See for example https://github.com/ziglang/zig/issues/8907
comment by SkiFire13 · 2024-01-20 · in The bane of my existence: Supporting both async and sync code in Rust -
I am not entirely sure, but it seems they chose to return a null pointer: https://github.com/ziglang/zig/commit/32e0dfd4f0dab351a024e7...
comment by brabel · 2024-01-17 · in Passing nothing is surprisingly difficult -
…return a * (ones - tv) + b * tv; } which still leaves some room for improvement. See for example https://github.com/ziglang/zig/issues/17274
comment by boomlinde · 2024-01-08 · in Failing to Learn Zig via Advent of Code (2022) -
> 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...
comment by codethief · 2024-01-06 · in Don't pass structs bigger than 16 bytes on AMD64 -
…[1] https://tutorial.ponylang.io/expressions/ops#precedence [2] https://github.com/ziglang/zig/issues/114
comment by MaxBarraclough · 2024-01-05 · in Dennis Ritchie on the priorities of && || vs. == etc. (1982) -
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 -
…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...
comment by Cloudef · 2024-01-05 · in Don't pass structs bigger than 16 bytes on AMD64 -
…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…
comment by flohofwoe · 2024-01-02 · in Zig cookbook: collection of simple Zig programs that demonstrate good practices -
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…
comment by kibibu · 2024-01-02 · in Zig cookbook: collection of simple Zig programs that demonstrate good practices -
…And maybe more work on composition, abstraction and interfaces. The issue is described here: https://github.com/ziglang/zig/issues/17985
comment by latch · 2024-01-02 · in Zig cookbook: collection of simple Zig programs that demonstrate good practices -
…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
comment by laserbeam · 2024-01-02 · in Zig cookbook: collection of simple Zig programs that demonstrate good practices -
…defining it first), you cannot do error.InvalidChar(c) to give back the actual character. https://github.com/ziglang/zig/issues/2647
comment by jiripospisil · 2023-12-30 · in Show HN: After a day of Zig – a review by a Rust enthusiast -
…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)…
comment by pixelpoet · 2023-11-29 · in Show HN: Error return traces for Go, inspired by Zig -
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?
comment by lll-o-lll · 2023-11-29 · in Show HN: Error return traces for Go, inspired by Zig -
…[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 -
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 -
…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
comment by shemii · 2023-11-11 · in Hashmaps in Factor are faster than in Zig -
…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 -
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 -
…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 -
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 -
…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…
comment by simon_void · 2023-09-26 · in Clang is being replaced by Aro (a C compiler written from scratch in Zig) -
▲ 14
Clang is being replaced by Aro (a C compiler written from scratch in Zig)story by DyslexicAtheist · 2023-09-22 · 2 comments
-
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 -
…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 -
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 -
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