3 ms·
it's perfectly possible to make memory safe programs in Zig. there are many an innovation that Zig brings to the table
by nektro 4y ago
it's perfectly possible to make memory safe programs in Zig. there are many an innovation that Zig brings to the table
- AaronFriel 4y agoThat isn't really an interesting statement, it's perfectly possible to make memory safe programs in C or assembly. The question is, how easy is it it to ensure a program is memory safe in Zig? The trend toward memory safety is marked by languages and tools making it harder to inadvertently write exploitable code, and easier to verify that the program is not exploitable. My understanding of Zig is that while it does some of the same things as so-called memory safe languages, it is not a "memory safe language" in the same sense as they use the term.