3 ms·
I wrote a VERY simple webserver in C. And thought about it. Why are all webservers not written in C!
by mkristiansen 3y ago
I wrote a VERY simple webserver in C. And thought about it. Why are all webservers not written in C!
- earthboundkid 3y agoY’know someone should write a web server in C. I bet it would be very fast and popular and never have any problems that cause people to look into using other languages after decades of being deployed in production.
- drpixie 3y agoI assume you're be sarcastic ;) But the ongoing crop of security problems (eg buffer overflows and pointer hassles) are not so much the fault of the C language as they are of the various libraries.
- OhMeadhbh 3y agoMaybe after we do a web server in C, we could do a proxy in C. Or maybe two. Bonus points if it could be configured to be a reverse-proxy.
- earthboundkid 3y agoI bet you could even write a cloud-native high-performance edge/middle/service proxy in C++.
- OhMeadhbh 3y agoIt is truly an age of miracles and wonders. The things we can do with technology!