News for hackers. Stuff that matters.
Re:Could we make C arrays memory safe? Probably not, but let... by stkdump on Saturday October 07, 2023 @09:58AM (#37801739)
See now what I mean by calling this a trade-off? Not everyone is in the same boat. I don't understand how this can even be a controversial stance.
Re:Could we make C arrays memory safe? Probably not, but let... by vacuity on Saturday October 07, 2023 @07:21PM (#37806358)
Microsoft and Firefox have cited around 70% memory bugs, and they probably have tooling and whatnot. There are a few languages with good C/C++ FFI that are a better choice for memory safety, and so the tradeoff there isn't very high. I grant there may be ABI edge cases or whatever, but C/C++ is no longer viable or necessary for a good portion of software.