zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.11.0-dev.18+81c27677d ### Steps to Reproduce and Observed Behavior I was profiling my application, where I need big integers, and the I was spending most of the time...
Aggregated reduction requires 5 additional multiplications (to precompute the powers of H), in order to save 2 multiplications per batch. So, only use large batches when it's actually interesting to...
Right now Zig puts native paths on the rpath if either `-feach-lib-rpath` is passed or the compile is happening for the native OS On Fedora this will cause errors while...
### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior When compiling embedded firmware targeting ARM Cortex M0+, using the stage2 compiler, in debug mode, the linker fails with...
On MacOS, if we're using Nix to supply the frameworks Zig should add the frameworks paths. Instead we currently emit warning logs (which are a bit [noisy](https://gist.github.com/MarcoPolo/b52f6f79caefd8362bcc031c5c6b82a6)). And then potentially...
Adds ioctlFunc which returns a wrapper function whose parameter type is tied to the ioctl number/definition. This removes the need for using `@ptrToInt` for the ioctl argument. Instead, the argument...
### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior ```zig const Error = error{OutOfMemory}; fn foo() Error!noreturn { return error.OutOfMemory; } comptime { _ = @as(Error, foo()); }...
I would like to work toward creating a [carryless multiplication](https://en.wikipedia.org/wiki/Carry-less_product) builtin in zig. This is a fast instruction used in simdjson for example to convert binary quote boundaries from json...
Once all these items are complete, we can say that Zig has Tier 1 support for 32-bit ARM Linux. * [x] make sure we can build-exe with `-target armv7-linux-gnu` *...
### Zig Version 0.11.0-dev.1928+3169f0529 ### Steps to Reproduce and Observed Behavior Create file `atom.c`: ```c #include int main() { _Atomic int val; atomic_fetch_add_explicit(&val, 1, memory_order_relaxed); return 0; } ``` Run...