Hardly the smallest when things like https://github.com/jcalvinowens/asmhttpd or https://github.com/nemasu/asmttpd exist.
Heck, even my own hittpd is only 124k statically-linked with musl and I didn’t optimize for size.
It would be interesting comparing these servers (thttpd, asmhttpd, asmttpd, hittpd, etc) along a few dimensions (latency, throughput, etc). I might try this over the weekend if I get a chance.
I’d love to see how they compare! I’m betting the one written in C gets a speed boost, but it might depend on the optimization
I learned a few things from some of their other posts as well. Great source for docker + Ruby stuff.