3 ms·
See https://m.youtube.com/watch?t=3566&v=gn3YsZ6HUHw https://m.youtube.com/watch?t=3566&v=gn3YsZ6HUHw Transcript with some omission. > Andrew: I claim that Zig
by Ygg2 4y ago
See https://m.youtube.com/watch?t=3566&v=gn3YsZ6HUHw https://m.youtube.com/watch?t=3566&v=gn3YsZ6HUHw
Transcript with some omission.
> Andrew: I claim that Zig is faster than C....
> I can give micro benchmarks of messing around with integers...
> I would make argument that based on principles of the language, the conventions that we have, the organization of standard library, there are also results in practice that Zig application tend to be faster...
> In C signed integer addition overflow is undefined and unsigned integer overflow is wrapping. In Zig it's consistent and signed and unsigned overflow is illegal behavior.