2 ms·
> I must admit I have never actually built a production service using CGI/C/httpd Nor would you probably want to. In addition to the security nightmere that ho
by bawolff 3y ago
> I must admit I have never actually built a production service using CGI/C/httpd
Nor would you probably want to. In addition to the security nightmere that hooking an inexperienced c programmer's c program directly to the internet is, CGI is not really known for scaling all that well. Like if you were really doing this on a real high performance site you'd probably want to use FastCGI. But also you just wouldn't do this. If you want to be low level, at least use rust.
- bsdpufferfish 3y agoThe cost if launching a process that’s not a JIT interpreter is tiny. It’s also a fixed cost, so it does scale. In 2023 people are using lambdas on was. Slow cgi is fast enough.