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
-
The "Support WASIX" [1] link shows up there, that's what led to this. [1] https://github.com/ziglang/zig/issues/17115
comment by wyldfire · 2023-09-17 · in Bounties Damage Open Source Projects -
Wasmer attempted to do this in the Ziglang repo barely 4 days ago: https://github.com/ziglang/zig/issues/17115
comment by ayewo · 2023-09-15 · in Should I Rust or Should I Go? -
▲ 2
Support Wasix in Ziglangstory by ayewo · 2023-09-14 · 0 comments
-
Link to GitHub issue: https://github.com/ziglang/zig/issues/17115 Wasmer offered a bounty of $5,000 for completion and merging was optional, the only requirement was to pass a test suite.
comment by aquariusDue · 2023-09-14 · in Bounties Damage Open Source Projects -
…using comptime. It parses the format string and validates the arguments at compile time. See https://github.com/ziglang/zig/blob/master/lib/std/fmt.zig I also toyed around with turning a math equation dsl into compiled statements at…
comment by Laremere · 2023-09-09 · in Learning Zig -
…I tried pulling a very simple SDL2 project off github and building it on my macbook M1 and hit https://github.com/ziglang/zig/issues/12069 . Homebrew also has no option for --HEAD, so I don't know if I'm running into a fixed issue or what.…
comment by BaculumMeumEst · 2023-09-09 · in Learning Zig -
…from a number of miscompilation [0] that is quite higher than for a more mature compiler. [0]: https://github.com/ziglang/zig/issues?q=is%3Aopen+is%3Aissue...
comment by KolmogorovComp · 2023-09-07 · in Bun 1.0 announcement [video] -
…the compiler error (as in, prevents compilation) for unused local variables. See discussion here: https://github.com/ziglang/zig/issues/335#issuecomment-10011...
comment by alwaysbeconsing · 2023-09-03 · in Focus: A simple and fast text editor written in Jai -
We also migrated all compile-time types and values to be stored in a similar fashion: https://github.com/ziglang/zig/pull/15569 Perf was a bit of a wash on this one but it means we can serialize most of the compiler's state with a single…
comment by AndyKelley · 2023-08-26 · in How to speed up the Rust compiler -
Zig did go on to apply the same style to their two later IRs, ZIR ( https://github.com/ziglang/zig/pull/8266 ) and AIR ( https://github.com/ziglang/zig/pull/9353 ). These don't look as thoroughly benchmarked (at least not on the PRs) but…
comment by Rusky · 2023-08-26 · in How to speed up the Rust compiler -
…from an RDBMS. The closest thing I've seen in a compiler is rather Zig's AST memory layout work: https://github.com/ziglang/zig/pull/7920 . But this is a very "hand-crafted" version of what an RDBMS does.
comment by Rusky · 2023-08-25 · in How to speed up the Rust compiler -
…only TLS 1.3 is implemented, which means that HTTPS requests are going to fail with many servers: https://github.com/ziglang/zig/issues/14172 I believe a 3rd party TLS package is available, but something to think about.
comment by 38 · 2023-08-22 · in Extend a C/C++ Project with Zig (2021) -
…I'd recommend reading the GH issues and comments I've linked below to get a better idea of it. [1]: https://github.com/ziglang/zig/issues/16270#issuecomment-161... [2]: https://github.com/andrewrk/ffmpeg [3]:…
comment by messe · 2023-08-22 · in Extend a C/C++ Project with Zig (2021) -
Versioned link: https://github.com/ziglang/zig/blob/b835fd90cef1447904d3b009...
comment by LoganDark · 2023-08-11 · in Fastest branchless binary search -
…find, rather it calls to C++. Zig’s binary search is here, it’s an unoptimized textbook version: https://github.com/ziglang/zig/blob/b835fd90cef1447904d3b009... At TigerBeetle, we have our own branchless implementation here:…
comment by matklad · 2023-08-11 · in Fastest branchless binary search -
The Zig stdlib does not call out to C++ for binary search. The binary search is currently here: https://github.com/ziglang/zig/blob/b835fd90cef1447904d3b009... (edit: fixed link to not decay, thanks)
comment by anonymoushn · 2023-08-11 · in Fastest branchless binary search -
Not really: https://github.com/ziglang/zig/issues/16270#issuecomment-161...
comment by ttrei · 2023-08-11 · in A Modern C Development Environment -
…every time. [2] [1] e.g. https://github.com/ddovod/jet-live , https://github.com/crosire/blink , https://github.com/ziglang/zig/issues/68 [2] https://rr-project.org/
comment by kvemkon · 2023-08-11 · in A Modern C Development Environment -
Happens a lot with Zig's builtin functions: See https://github.com/ziglang/zig/issues?q=is%3Aissue+mentions%... for example
comment by quic5 · 2023-07-27 · in Super sorry to the guy with the username reset on GitHub -
Related: this pull request that was merged last night: https://github.com/ziglang/zig/pull/16558 Currently only enabled for debug builds of the compiler, but there's talk there about making it a more general purpose tool for finding where…
comment by AndyKelley · 2023-07-26 · in Memory Copy Hunting -
…provide the required guarantees with required ergonomics, but this is being actively worked on: - https://github.com/ziglang/zig/issues/2765 - https://github.com/ziglang/zig/issues/12251 - https://github.com/ziglang/zig/issues/5973 In the…
comment by matklad · 2023-07-26 · in Memory Copy Hunting -
…do not expect this to be a big problem once static analysis symbols can be enforced as unique (see https://github.com/ziglang/zig/issues/14656#issuecomment-143... and follow-up for the use cases of static analysis tooling). Also, since…
comment by matu3ba · 2023-07-19 · in Zig: Upcoming release postponed two more weeks and lacks async functions -
What I'm really waiting for is zig support for custom range ints https://github.com/ziglang/zig/issues/3806 Also minor nitpick I have is that the interval/range syntax in zig is pretty confusing as it can be both inclusive and exclusive…
comment by Cloudef · 2023-07-04 · in Problems of C, and how Zig addresses them -
Whoa, I haven't been keeping up to date about this, there seems to be good related discussion here: https://github.com/ziglang/zig/issues/7295 I'll hope for some future news of Zig having vector and complex number support! It will be a…
comment by pixelpoet · 2023-07-03 · in Problems of C, and how Zig addresses them -
There's a proposal for complex numbers: https://github.com/ziglang/zig/issues/16278 Vectors are already first-class types via @Vector, aren't they?
comment by defen · 2023-07-03 · in Problems of C, and how Zig addresses them -
…recommend you do this). [0] https://ziglang.org/documentation/master/#Doc-Comment-Guidan... [1] https://github.com/ziglang/zig/blob/0dffab7356685c7643aa6e3c...
comment by e4m2 · 2023-07-03 · in Problems of C, and how Zig addresses them -
…the new (k,v) pair? I can see that the difference between the two is in self.growIfNeeded() call, https://github.com/ziglang/zig/blob/0dffab7356685c7643aa6e3c... , which the one that doesn't allocate really doesn't have. Does it assume…
comment by menaerus · 2023-07-03 · in Problems of C, and how Zig addresses them -
Compare these two methods: https://github.com/ziglang/zig/blob/0dffab7356685c7643aa6e3c... https://github.com/ziglang/zig/blob/0dffab7356685c7643aa6e3c... One of them requires passing an allocator (and can allocate), the other doesn’t have…
comment by matklad · 2023-07-03 · in Problems of C, and how Zig addresses them -
…-% zero) *% mmmm); if (result > 9999) return error.CertificateTimeInvalid; return result; } source: https://github.com/ziglang/zig/blob/fc9ab5f0e838196e99d1706e... machine code example: https://godbolt.org/z/ezrPEdPx7
comment by AndyKelley · 2023-07-03 · in Parsing time stamps faster with SIMD instructions -
Here’s a list of rejected proposals made by the BDFL: https://github.com/ziglang/zig/issues?q=is%3Aissue+label%3Ap...
comment by somethingor · 2023-06-30 · in File for divorce from LLVM -
It’ll still output LLVM bitcode, but it won’t depend on LLVM libs anymore https://github.com/ziglang/zig/issues/13265
comment by cobbzilla · 2023-06-30 · in File for divorce from LLVM -
▲ 353
File for divorce from LLVMstory by detaro · 2023-06-30 · 161 comments
-
▲ 3
Show HN: I built the DuckDB extension template with Nix and the Zig C compilerstory by rupurt · 2023-06-23 · 0 comments
-
…the ability to opt out at the individual parameter level (and with safety checks in debug builds). https://github.com/ziglang/zig/issues/1108 Either way we can definitely thank Rust for blazing the trail. noalias in LLVM had never been…
comment by EscapeFromNY · 2023-06-17 · in Rust vs Zig Benchmarks -
…gs.debian.org/cgi-bin/bugreport.cgi?bug=995670 2. we don't tell you to "just use a snap.". Please see https://github.com/ziglang/zig/#installation 3. we tag releases soon after llvm tags releases for the convenience of package maintainers.…
comment by AndyKelley · 2023-06-01 · in Zig is hard but worth it -
…everything to and from C at the binary interface, and losing all ziggyness in the process. [1] https://github.com/ziglang/zig/issues/3786
comment by bitshiffed · 2023-06-01 · in Zig is hard but worth it -
This comment suggests otherwise: https://github.com/ziglang/zig/issues/89#issuecomment-122118... Although I'm not sure the "self hosted compiler" is the same as "llvm free backend".
comment by hsn915 · 2023-05-30 · in Why is Swift so slow (timeout) in compiling this code? (2022) -
looks like the project's now abandonned : https://github.com/ziglang/zig/projects/2
comment by bsaul · 2023-05-30 · in Why is Swift so slow (timeout) in compiling this code? (2022) -
My understanding is that it's there to allow for testing the client. Relevant issue: https://github.com/ziglang/zig/issues/910
comment by squeek502 · 2023-05-18 · in Zig now has built-in HTTP server and client in std -
▲ 267
Zig now has built-in HTTP server and client in stdstory by huydotnet · 2023-05-18 · 174 comments
-
▲ 5
Zig now has HTTP server in stdstory by alexbezhan · 2023-05-11 · 0 comments
-
▲ 7
Removing branch from ArrayList.ensureTotalCapacitystory by davikr · 2023-05-04 · 0 comments
-
https://github.com/ziglang/zig/issues/6966 was discussed
comment by nyberg · 2023-05-02 · in SIMD with Zig