News for hackers. Stuff that matters.
Re:Zig Structs of Arrays (2024) by aaaashley on Monday June 08, 2026 @12:36PM (#48447579)
yes! i had this exact idea. i also thought about integrating geometric/clifford algebra using zig's type system so that you could have one mathematical multivector object instead of complex / quaternion types, etc.
Re:Zig Structs of Arrays (2024) by smj-edison on Monday June 08, 2026 @12:41PM (#48447652)
That's the other great thing about using comptime, is you can specify which DSL you want to use for which scenario. You're not locked into one implementation.