News for hackers. Stuff that matters.
Re:Safe C++ proposal is not being continued by randomNumber7 on Saturday September 13, 2025 @05:07PM (#45235315)
The problem with this would probably be that you usually have to use some libraries with C APIs and regular pointers.

You could compile your program with address sanitizer then it at least crashes in a defined way at runtime when memory corruption would happen. TCC (tiny C compiler initially written by fabrice bellard) also has such a feature I think.

This of course makes it significantly slower.

There are no comments on this comment yet.