3 ms·
The Aolserver web server is one of the most readable C programs I've ever seen. Each function definition is preceded by documentation of its purpose and side e
by minimax 16y ago
The Aolserver web server is one of the most readable C programs I've ever seen. Each function definition is preceded by documentation of its purpose and side effects. Unfortunately the modules tend not to be quite as clean. The development community is dwindling but exceedingly polite and helpful.
The one gripe I have is that the tuning parameters are not well documented (especially post 4.5.0). You have to study the source in order to dig out all the parameters you need to tweak in order to really make the server sing.
- davidw 16y ago> Each function definition is preceded by documentation of its purpose and side effects. That's the Tcl style: https://github.com/das/tcltk/blob/master/tcl/generic/tclStringObj.c https://github.com/das/tcltk/blob/master/tcl/generic/tclStri... Tcl's C code is very nice.
- jzcoder 16y agoThe Ns module API was also very clean. This is why we choose it to embed our libraries and expose an HTTP interface to our other internal applications. It's worked reliably for this purpose for years. Since all our development work is inside our module wrapper, we have no immediate plans to move away from AOLserver. It just works fine as a lean web server.