<story><title>Show HN: A little web server in C</title><url>https://github.com/robdelacruz/lkwebserver</url><text>A little web server written in C for Linux.&lt;p&gt;Supports: CGI, Reverse Proxy.&lt;p&gt;Single threaded using I&amp;#x2F;O multiplexing (select).</text></story><parent_chain></parent_chain><comment><author>samtho</author><text>This may sound sort of “old man waves at cloud” of me but one thing I’ve found sad is the gross over-complication of later versions of standards such that the sort of project linked here may not be as practical for something like HTTP&amp;#x2F;3 for example. Similarly, the large, muddled tool chain that is “required” to make modern JavaScript applications makes it hard for newer learners to really understand what is going on because the minimal code version still needs its own transpiler, build system, linter, process managers, etc. Maybe we need all this complexity, but I suspect that some of the overzealous, solve-everything systems design we have come accustomed to is mainly serving to create a larger problem set instead of creating elegant abstractions that are agreed upon.</text></comment>
<story><title>Show HN: A little web server in C</title><url>https://github.com/robdelacruz/lkwebserver</url><text>A little web server written in C for Linux.&lt;p&gt;Supports: CGI, Reverse Proxy.&lt;p&gt;Single threaded using I&amp;#x2F;O multiplexing (select).</text></story><parent_chain></parent_chain><comment><author>skulk</author><text>Cool project, but this project demonstrates the reason I&amp;#x27;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:&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;robdelacruz&amp;#x2F;lkwebserver&amp;#x2F;blob&amp;#x2F;main&amp;#x2F;lkstring.c&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;robdelacruz&amp;#x2F;lkwebserver&amp;#x2F;blob&amp;#x2F;main&amp;#x2F;lkstrin...&lt;/a&gt;&lt;p&gt;It&amp;#x27;s fun to write this (and read others&amp;#x27; versions) the first 3 or 4 times, but it gets old quickly.</text></comment>