Thursday, October 31, 2024

tiny web server in C

shenfeng/tiny-web-server: a tiny web server in C, for daily use. @GitHub

it works! from 2013; 440 lines of code

just seem to keep CPU very busy...

it is educational, but there is a reason for production-grade web servers...

MIT license

DraganSr: The simplest local web file server !

"production" grade web server in Go is 14 lines of code!

not surprising, since Go language is co-developed by same person who co-developed C language, 40 years before!

Ken Thompson - Wikipedia

In 1972, Ritchie completed the original version of the high-level C programming language; Thompson then rewrote the UNIX kernel in C. This made UNIX portable — that is, easily adapted for different computer platforms and allowed it to be used almost without change across a wide span of computers.

No comments: