4 ms·
Of course C is facing the internet. The entire Linux networking stack is written in C. Damn near every request on the internet touches that code.
by jagger27 10y ago
Of course C is facing the internet. The entire Linux networking stack is written in C. Damn near every request on the internet touches that code.
- sebcat 10y agoAnd nginx, and apache, and php, and ...
- guitarbill 10y agoAt which point did you decide not to read the comments properly? The gist was that PHP was designed for web use, so it's almost always facing the internet. C on the other hand is very much multi-purpose. Both can be made secure, but maybe it's less effort using something that helps you with security (Hack, Rust, etc.). (BTW, your comment contains a huge fallacy: Just because a majority of packets touches something written in C, that doesn't mean a majority of C code written is exposed to the internet. This is arguably the entire point of e.g. iptables.)