4 ms·
Don't forget yet another hand-written HTTP parser, and the complete lack of a test suite. On a more flamebaity note, I don't know why you'd even want to write
by nly 12y ago
Don't forget yet another hand-written HTTP parser, and the complete lack of a test suite.
On a more flamebaity note, I don't know why you'd even want to write something like this in C. Writing a server for one of the most prevalent network protocols on the Internet in C, in 2015, just seems like masochism. This code reinvents so many wheels for the 1000th time in C code history, it's just tiresome to read. C++ would've reduced and simplified the code substantially and there are a growing number of other fine choices these days.
- tedunangst 12y agoThe compilers for any number of other fine choices aren't included in OpenBSD, making the addition of software written using them more complicated.
- Dewie 12y agoWhat other languages does the OpenBSD people use? Shell scripts? Maybe something else?
- Dewie 12y agoJeez, it was actually an honest question.
- qbrass 12y agoPerl is in base and used for pkg_add and the other package tools.
- tedunangst 12y agoThere are some larger perl programs (pkg) and some smaller awk/sh/etc. floating around. Not sure about using them for a web server though.
- slurry 12y agoAwk for a web server? It's been done. http://awk.info/?tools/server http://awk.info/?tools/server
- proveanegative 12y agoCouldn't they use GCCGO since they already package GCC?
- tedunangst 12y agoFor gcc 4.2?
- marktangotango 12y agoThis is a banal comment.