zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.10.0-dev.4342+8bb2e96ac ### Steps to Reproduce ```zig const std = @import("std"); const Rect = struct { x: f32 }; fn doAThing() Rect { return undefined; } test {...
### Zig Version 0.10.0-dev.4418+99c3578f6 ### Steps to Reproduce Write Zig code which uses an `else if` statement, but misses out the `if` keyword, for example: ```zig const std = @import("std");...
### Zig Version 0.10.0-dev.4418+99c3578f6 ### Steps to Reproduce To illustrate something like this: ``` const V = @Vector(2, u8); fn addVec(_: V, _: V) @Vector(2, bool) { var result: V...
The [MOS Technology 6502](https://en.wikipedia.org/wiki/MOS_Technology_6502) is one of the most famous processors which was used in a lot of home computers in the 80ies. Even today it is mostly programmed in...
https://github.com/ziglang/zig/issues/11891
- Have the compiler run continuously, watching the file system for source changes and automatically perform multithreaded compilation to build projects quickly. - Hot code swapping. When integrated with the...
### Zig Version 0.10.0-dev.359+fa84625ae ### Steps to Reproduce ```zig const std = @import("std"); pub fn main() void { comptime { var pack = std.PackedIntArray(u8, 2).initAllTo(0); _ = pack.get(0); } }...
Refs https://github.com/zigchroot/zig-chroot/issues/1
### Zig Version 0.10.0-dev.4280+c3d67c5c4 ### Steps to Reproduce - create a main.cpp file with `int main() { return 0; }` - build with `zig c++ main.cpp -lgdiplus` using a mingw64...
https://user-images.githubusercontent.com/35064754/178306069-dd094047-a2b7-4dfe-a376-3b42ec2a7c3c.mp4 Here's why I think Zig might be attractive to language devs as a language to compile to: - Zig compiles quickly (and will only get quicker in the future)....