News for hackers. Stuff that matters.
Re:Carbon Language: An experimental successor to C++ by olliej on Tuesday July 19, 2022 @09:12PM (#32160071)
Zig is to my knowledge specifically designed to have they kinds of use after free that C and C++ have. Their claim is not to “hide” allocation by requiring everyone to implement manual retain and release.
Re:Carbon Language: An experimental successor to C++ by pjmlp on Wednesday July 20, 2022 @04:47AM (#32163081)
Zig is at most, as safe as a language like Modula-2.

Definitly safer than C and C++ in regards to bounds checking and numeric conversions, but without any language protection against user after free, other than what you would already get with heap debuggers on C and C++.