3 ms·
> I'd also be interested in opinionated writeups/positions. Ok then! Writing a web server in C is bloody stupid. A web server's performance is mostly limited b
by bjourne 4y ago
> I'd also be interested in opinionated writeups/positions.
Ok then! Writing a web server in C is bloody stupid. A web server's performance is mostly limited by concurrency issues and various IO latencies, not by how fast the machine code runs. Thus, there are zero advantages to writing a web server in C and mountains of disadvantages. Save your time and write your web server in a good language, Java, Go, Python, Nim, but not C.
- shanebellone 4y agoI've built one with Python along with a custom WSGI app. Also, Apache and NGINX say hello.