News for hackers. Stuff that matters.
Re:The long goodbye to C by erik_seaberg on Friday November 10, 2017 @01:01PM (#15671666)
Most decoders are in a position to be attacked with malicious input, which makes C a disastrous choice.
Re:The long goodbye to C by vortico on Friday November 10, 2017 @02:16PM (#15672188)
In my experience, most applications of C libraries are used in places where security is irrelevant, but even if it mattered, there are of course ways to write C without carelessly throwing around pointers. For example, an AIFF to WAV converter likely doesn't need to allocate any memory at all, it just takes a buffer with a length and writes to a buffer with a length. It's very easy to prove correctness of a large number of library decoders/encoders, but of course there are others which may be difficult.