News for hackers. Stuff that matters.
Re:Problems of C, and how Zig addresses them by defen on Monday July 03, 2023 @07:25PM (#36580129)
There's a proposal for complex numbers: https://github.com/ziglang/zig/issues/16278

Vectors are already first-class types via @Vector, aren't they?

Re:Problems of C, and how Zig addresses them by pixelpoet on Monday July 03, 2023 @07:32PM (#36580196)
Whoa, I haven't been keeping up to date about this, there seems to be good related discussion here: https://github.com/ziglang/zig/issues/7295

I'll hope for some future news of Zig having vector and complex number support! It will be a great day for fast ray/path tracers :)

Re:Problems of C, and how Zig addresses them by paoda on Monday July 03, 2023 @09:04PM (#36580845)
Unfortunately, vectors in Zig are the kind you use in SIMD and not in graphics programming. Perhaps there's some overlap, but I'm unfamiliar with both fields so I can't say to what degree.