Re:Why Zig when there is already C++, D, and Rust?
by kccqzy on Friday January 15, 2021 @06:22PM
(#25797979)
I think the article is trying to say the plus and the dot access are guaranteed to be language built-ins and therefore be very cheap to call. Furthermore they can't fail by throwing exceptions or such. (Note that in C the plus operator may result in UB, such as signed overflow, or forming a pointer beyond one past the allocated size.)
[ Parent
| on HN ]
There are no comments on this comment yet.