Re:Why is Zig so Cool?
by qouteall on Saturday November 08, 2025 @09:25PM
(#45862349)
For example , if error data contains string, if it directly point to input string it won't require allocation, but will have memory safety issue if error is passed to outer scope where input string is deallocated. Many errors copy string to make it usable in outer scope.
[ Parent
| on HN ]
There are no comments on this comment yet.