One wish thread was fun but theres a lot of stuff in the pipeline especially if u browse the GitHub pile.
Look interesting to me making use of r32 , r64 when you don’t need deterministic behavior but speed .
One wish thread was fun but theres a lot of stuff in the pipeline especially if u browse the GitHub pile.
Look interesting to me making use of r32 , r64 when you don’t need deterministic behavior but speed .
in no specific order :
Proposal: add .len field to vector values #17886
add builtins: @rotl and @rotr #7183
Fixed-point number support of some kind in the language #1974
Builtin Matrix type #4960
Proposal: add @memCast for a class of safe pointer casts #23935
allow ranges when switching on enums #15556
Proposal: restricted function types #23367
add vec2, vec3, vec4 types to the language #32032
Proposal: restricted function types · Issue #23367 · ziglang/zig
Proposal: Change extern modifier for structs to mean “guaranteed layout”, not “for use with C”. · Issue #6700 · ziglang/zig
Proposal: testing @compileError · Issue #513 · ziglang/zig
add @backingInt and @fromBackingInt for converting between packed structs, packed unions, enums and their integer representations · Issue #18882 · ziglang/zig
#32029 - rename @field to @member for clarity - ziglang/zig - Codeberg.org
exempt known-finite operations (for loops) from eval branch quota · Issue #16983 · ziglang/zig
require parentheses sometimes to disambiguate confusing operator precedence · Issue #114 · ziglang/zig
As a hobbyist whose development is often centered around game development, most of my “wish-list” for the language is likewise related to better support and ergonomics for that.
support torrenting for fetching and serving packages · Issue #23236 · ziglang/zig · GitHub
Proposal: restricted function types · Issue #23367 · ziglang/zig · GitHub
safe recursion · Issue #1006 · ziglang/zig · GitHub
enhance the fuzzing algorithm to be competitive with other mainstream fuzzers · Issue #20804 · ziglang/zig · GitHub
remove @TypeOf and anytype; introduce |T| syntax #32099
Edit: I couldn’t find the proposal for it, but compiler state serialization is also something I’m excited about. It would enable incremental rebuilds without the need for --watch by caching the entire state of the compiler after a build.
If had to pick only one, it would probably be debug safety feature: runtime undefined value detection · Issue #211 · ziglang/zig · GitHub, kind of an odd one, but I think this would make debugging a lot easier in the scenarios where it does apply. It is always quite confusing to debug undefined value errors, since they often result in odd behavior instead of straight up crashing.