News for hackers. Stuff that matters.
[dead]
Re:Ex-Twitter exec blows the whistle, alleging reckless cybe... by UncleMeat on Tuesday August 23, 2022 @08:53AM (#32564183)
An interesting statement in a thread about widespread security weaknesses.
Re:Ex-Twitter exec blows the whistle, alleging reckless cybe... by qualudeheart on Wednesday August 24, 2022 @05:58PM (#32586318)
Security weakness aren’t a problem if you limit yourself to MISRA C techniques. You don’t need modern languages.
Re:Ex-Twitter exec blows the whistle, alleging reckless cybe... by UncleMeat on Thursday August 25, 2022 @09:24AM (#32593382)
We observe very clearly that teams consistently fail to write vuln-free C applications of any meaningful technical or organizational complexity. Following various guidelines empirically does not solve the problem.
Re:Ex-Twitter exec blows the whistle, alleging reckless cybe... by hunter-gatherer on Tuesday August 23, 2022 @08:16AM (#32563712)
C has such a bad wrap with the HN crowd...
Re:Ex-Twitter exec blows the whistle, alleging reckless cybe... by swores on Tuesday August 23, 2022 @10:15AM (#32565246)
I think a comment of "smart people use <any language>" would be downvoted.
Re:Ex-Twitter exec blows the whistle, alleging reckless cybe... by memling on Tuesday August 23, 2022 @10:08AM (#32565132)
> C has such a bad wrap with the HN crowd...

why?

Re:Ex-Twitter exec blows the whistle, alleging reckless cybe... by hn_throwaway_99 on Tuesday August 23, 2022 @11:56AM (#32566819)
It really doesn't. After all, many (most?) other languages like Java and JavaScript are implemented primarily in C and/or C++.

Where it gets deserved opprobrium is that it has no memory safety features, and thus inherently contributes to gobs of security vulnerabilities, and there are safer alternatives now, like Rust.

C is basically "portable assembly", and it's rarely the right tool for the job these days.

Re:Ex-Twitter exec blows the whistle, alleging reckless cybe... by _vdpp on Tuesday August 23, 2022 @04:56PM (#32571396)
Can only patch so many buffer overflows, off-by-one errors, format string vulnerabilities, integer overflows, race conditions, use-after-free errors, etc, before it gets to be a bit tiring. Safer alternatives exist.