Live data from Hacker News

Show HN: A little web server in C

github.com

1–10 of 121 posts

Re: Show HN: A little web server in C

#7
post #4

[flagged]

I dunno. I haven't written a multiplexing I/O server. I haven't written a CGI forking process. I haven't written a reverse proxy handler. Heck, I haven't written C in years.

All sorts of reason why someone might want to write one of these. There's even a bunch of free tools to help test it (and who doesn't like free tests!).

Until you put fingers to keyboard, you just don't know, it's all book learnin'.

Re: Show HN: A little web server in C

#8
post #7
post #4

[flagged]

I dunno. I haven't written a multiplexing I/O server. I haven't written a CGI forking process. I haven't written a reverse proxy handler. Heck, I haven't written C in years. All sorts of reason why someone might want to write one of these. There's even a bunch of free tools to help test it (and who doesn't like free tests!). Until you put fingers to keyboard, you just don't know, it's all book learnin'.

Good for you. Great way to learn!

Re: Show HN: A little web server in C

#10
Cool project, but this project demonstrates the reason I've stopped writing things in C. The standard library has garbage string functions and it seems every project has its own version of this file:

https://github.com/robdelacruz/lkwebserver/blob/main/lkstrin...

It's fun to write this (and read others' versions) the first 3 or 4 times, but it gets old quickly.

Post reply on HN