unzig
zig-bootstrap
unzig | zig-bootstrap | |
---|---|---|
6 | 8 | |
11 | 337 | |
- | 3.0% | |
0.0 | 7.7 | |
about 1 year ago | 12 days ago | |
Zig | C | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unzig
- Show HN: Zig Without Unused Variable Errors
-
Added a flag to remove unused variable error
I really like Zig but the unused variable error really gets in the way of how I usually do exploratory code. I've managed to produce a forked version from release 0.10.1 that adds an --allow-unused flag which disables the error. The code is hacky but it seems to work. I didn't understand a lot about Zig's caching mechanism so I might have been a little aggressive in invalidating caches when the flag is switched on and off.
-
What “sucks” about Zig?
I originally pulled it from here: https://github.com/markisus/unzig
-
Zig: The Modern Alternative to C
It already exists. You’ll just have to compile it yourself which is relatively easy.
https://github.com/markisus/unzig
- Show HN: Zig Without Unused Variable Error
-
Compiling Zig with Low RAM (16GB)?
I predict / hope that in the future, the community will just host patched binaries somewhere, but for now I have gone ahead and created a patch repo whose sole purpose is to remove the unused variable error where you still have to rebuild from source. https://github.com/markisus/unzig
zig-bootstrap
-
Zig for Raspberry Pi 2 Model B
if you know what compiler target is used on your pi 2 you can probably get someone to cross compile it for you. https://github.com/ziglang/zig-bootstrap This should be reasonably easy to use.
-
Compiling Zig with Low RAM (16GB)?
Use Zig Bootstrap, it is easier. And It should work on 16gb.
-
compile zig based on llvm-14
you can cross compile for armv7a with zig-bootstrap
-
Zig is now self–hosted by default
They have a project for maintaining this: https://github.com/ziglang/zig-bootstrap
- Looking into Zig
-
[Discussion] I firmly believe a self hosted compiler is a huge security risk that *should not* be undertaken.
I think that's the purpose of the zig-bootstrap project. By having these dependencies installed: clang, llvm, python3, cmake (notice no zig) you end up with zig compiled.
-
Zig 0.8.0 Released!
The current state is that they offer a repo with LLVM and the stage1 (C++) compiler, which should build on any system that can build LLVM (so any system with a modern C++ compiler and build tools). Or you can grab the upstream Zig code and build it against regular LLVM 12 yourself using an existing LLVM 12 clang/etc stack.
- Zig 0.8.0 Release Notes
What are some alternatives?
libxev - libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
bitcoin-bash-tools - Set of bitcoin-related bash functions
osxcross - Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
aviary.sh - Minimal distributed configuration management in bash
live-bootstrap - Use of a Linux initramfs to fully automate the bootstrapping process
bash2048 - Bash implementation of 2048 game
MacOSX-SDKs - A collection of those pesky SDK folders: MacOSX10.1.5.sdk thru MacOSX11.3.sdk
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
badger - Keyboard firmware written from scratch using Nim
tigerbeetle - The distributed financial transactions database designed for mission critical safety and performance.
gccrs - GCC Front-End for Rust