4 ms·
C has such a bad wrap with the HN crowd...
by hunter-gatherer 4y ago
C has such a bad wrap with the HN crowd...
- memling 4y ago> C has such a bad wrap with the HN crowd... why?
- encryptluks2 4y ago
- hn_throwaway_99 4y agoIt 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.
- _vdpp 4y agoCan 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.
- swores 4y agoI think a comment of "smart people use <any language>" would be downvoted.