r/ProgrammingLanguages • u/UKbeard • Apr 14 '26
Zig v0.16.0 released
https://ziglang.org/download/0.16.0/release-notes.html
67
Upvotes
r/ProgrammingLanguages • u/UKbeard • Apr 14 '26
View all comments
Show parent comment
16
u/glasket_ Apr 14 '26
I'm assuming they made it dense because vectors are meant for SIMD, and they were having problems with optimizing runtime indices. Probably a deterrent, sort of signaling that this isn't the right use-case.
If not, then it's silly how much you have to manually extract when they could expose a wrapper utility to do the type manipulation for you.