Hacker News new | ask | show | jobs
by cornstalks 523 days ago
Zig has builtin support for vectors[1], which I think provides some alleviation. But sure, it's not as complete or flexible as a whole vector/matrix library.

[1]: https://ziglang.org/documentation/master/#Vectors

1 comments

Great to know! From the description in that page and yours, it sounds like this is a related, but different concept. Specifically, that page includes use of a `Vec3` of the sort I was implementing, done with a `struct` and methods, vice @Vector.