Zig – SPIR-V Backend Progress
7 days ago
- #Zig development
- #build system
- #package management
- Package management functionality moved from compiler to build system, improving safety and allowing easier patching.
- SPIR-V backend updated with new @SpirvType builtin, execution mode handling via calling convention, and multi-threaded codegen.
- @bitCast semantics redefined to use logical bit layout, making operations endian-agnostic and more consistent.
- ELF linker improvements support fast incremental compilation and can build the self-hosted Zig compiler with LLVM and LLD.
- Build system reworked to separate configurer and maker processes, speeding up builds and enabling better caching.
- io_uring and Grand Central Dispatch std.Io implementations added for experimental evented I/O.
- Package management enhancements include local zig-pkg directory and --fork flag for easier dependency management.
- Windows standard library prefers native ntdll APIs over kernel32 to avoid overhead and improve reliability.
- zig libc project replaces vendored C code with Zig wrappers, reducing dependency on third-party projects.