3 ms·
About as real as claiming that C/C++ is memory safe because of sanitizers IMHO.
by vlovich123 11mo ago
About as real as claiming that C/C++ is memory safe because of sanitizers IMHO.
- Ygg2 11mo agoI mean, Zig does have non-null pointers. It prevents some UB. Just not all.
- pjmlp 11mo agoWhich you can achieve in C and C++ with static analysis rules, breaking compilation if pointers aren't checked for nullptr/NULL before use. Zig would have been a nice proposition in the 20th century, alongside languages like Modula-2 and Object Pascal.