We recommend LibHunt Zig for discovery and comparisons of trending Zig projects.
Performance
Zig aims to offer high performance comparable to C or C++, allowing it to be suitable for system-level programming.
Safety
It includes modern safety features like optional type checking, bounds checking, and panic handling without a garbage collector.
Interoperability
Zig has excellent interoperability with C, including the ability to directly include C headers and compile C code.
Build System
Zig comes with an integrated build system that simplifies project configuration and management.
Cross-compilation
The language has built-in support for cross-compilation, making it easier to develop for different target environments.
Simplicity
Zig aims for simplicity and explicitness in its design, making code easy to read and understand.
Promote Zig. You can add any of these badges on your website.
For local testing, just run cargo build --release. But cross-platform compilation is much more complicated. Fortunately, the Zig toolchain greatly simplifies C cross-compilation, eliminating the need for musl libc! - Source: dev.to / 24 days ago
Https://ziglang.org/ is a solid future C-replacement, IMHO. There's pretty much no downsides and all upsides from a C hacker's perspective. It just hasn't reached 1.0 yet! - Source: Hacker News / 3 months ago
But the situation for Rust-C++ interop is also worse than for Rust-C interop. Why else would Google spend maybe $1 million on improving it in 2024? https://www.theregister.com/2024/02/05/google_rust_donation/ Many years after Rust got support in Mozilla for usage with Firefox written in C++. >My sibling is also correct, language decisions were made in order to keep FFI zero overhead. Yet overhead is only one piece... - Source: Hacker News / 3 months ago
I am looking for some inspiration at websites for software projects that do a very good of job explaining their product right from the get go. Things like programming language or database home pages/docs or open source projects with good git READMEs. Though I've never used it, I think https://ziglang.org/ is a great example as it explains what makes the language unique, gives a code example right at the beginning,... - Source: Hacker News / 4 months ago
At the same time, in the internal Slack of the company I work for, my colleague asked the security team whether we have any policies about the apps, as they'd like to start using Ghostty as their terminal emulator. I took a look at it, and it immediately caught my attention: a fresh look, a zero-config setup, platform-native UI (discovered in details in the “Ghostty Is Native—So What?” post by Gregory Anders) and... - Source: dev.to / 4 months ago
I'm not sure which language will be more mainstream in the future between these two. Maybe Zig(https://ziglang.org) can be some contender in the future, but not now at least - it could be a good contender at least it shows OOP grammar as simple as Python, internalizing vtable. For C++ and Rust, at least for me Rust is more like "you MUST do this" while C++ is like "you CAN do it also in this way." While one is... - Source: dev.to / 4 months ago
I'll tell you my experience with Zig. I don't have any. I saw maybe Primagen talking about it and I see your post here. I watched 10 minutes of your vimeo video. I see it has 30k+ stars on github. So now I have to try to understand it in a nutshell. First like any language, I go to indeed.com and put in "Zig" to see if there are any jobs listed which use it. I don't see any. Then I click to https://ziglang.org/... - Source: Hacker News / 5 months ago
Interestingly, Huly is also the sponsor of the Zig programming language[1]. [1]: https://ziglang.org/. - Source: Hacker News / 7 months ago
You crave the simplicity of C, but miss modern features and a nice build system? You got Zig. - Source: dev.to / 8 months ago
Zig language mentioned in the post: https://ziglang.org/. - Source: Hacker News / 11 months ago
You might also want to consider Zig: https://ziglang.org/ It supports cross-compilation to a wide range of targets and supports C & C++ as well. - Source: Hacker News / 11 months ago
It's "Zig" not "Zag". https://ziglang.org/ Zig is under heavy development, but there's a single page https://ziglang.org/documentation/0.12.0/ that is a reasonably comprehensive source of truth about the current state of the language. - Source: Hacker News / about 1 year ago
When writing code in a scripting language, sometimes you need that extra bit of performance (or maybe an async feature from Zig). - Source: dev.to / about 1 year ago
NodeJS is by no means a slow runtime, it wouldn’t be so popular if it was. But compared to Bun, it’s slow. Bun was built from the ground up with speed in mind, using both JavascriptCore and Zig. The Bun team spent an enormous amount of time and energy trying to make Bun fast, including lots of profiling, benchmarking, and optimizations. - Source: dev.to / about 1 year ago
You may find Zig interesting: https://ziglang.org. The language is not C compatible but the tooling can compile C and C++ without hassle. - Source: Hacker News / over 1 year ago
Zig describes itself as "... a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.". Sounds very generic, eh? - Source: dev.to / over 1 year ago
Rust is much more akin to C++ than C in terms of complexity. It's early but Zig[1] might fit the bill. [1] https://ziglang.org/. - Source: Hacker News / over 1 year ago
If you are interested in more low-level programming with manual memory management I would like to throw Zig (https://ziglang.org) into the mix. A while back I started trying to learn it after using Go almost exclusively for the last couple of years and I like it a lot. It has some modern concepts similar to Go (like defer) that just makes it nice to write. Just be aware that Zig is in early stages of development... Source: over 1 year ago
Zig is a general-purpose programming language designed for robustness, optimality, and maintainability. - Source: dev.to / over 1 year ago
Chapel has at least several full-time developers at Cray/HPE and (I think) the US national labs, and has had some for almost two decades. That's much more than $100k. Chapel is also just one of many other projects broadly interested in developing new programming languages for "high performance" programming. Out of that large field, Chapel is not especially related to the specific ideas or design goals of... - Source: Hacker News / over 1 year ago
The answer was given by the Elixir community with burrito which enables users to pack up everything an Elixir application needs within a binary namely Zig Archiver to package the binary and Zig Wrapper that wraps the Erlang Virtual Machine to be used in multiple platforms (Zig + Rust in the same project 🤯). - Source: dev.to / over 1 year ago
Do you know an article comparing Zig to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Zig. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.