Re:Zig is now self–hosted by default
by jcelerier on Monday August 22, 2022 @03:01AM
(#32548208)
SoA in C++ isn't that long, here's my version (which for sure does not have the utility functions defined here though, but is useful enough for me): https://github.com/celtera/ahsohtoa/blob/main/include/ahsoht...
[ Parent
| on HN ]
That's pretty sweet, I didn't know C++ could do this now!
Zig's still got it beat handily in simplicity though -- I think what's really cool about Zig's idea of comp-time evaluation is you get something like the power of C++ with something like the simplicity of C.