News for hackers. Stuff that matters.
Re:A web server in a shell script by drv on Tuesday November 02, 2010 @06:55PM (#1862776)
This is a neat hack, but the title is a little misleading - most of the real work is handled by inetd, not the shell script.
Re:A web server in a shell script by silentbicycle on Tuesday November 02, 2010 @08:19PM (#1863016)
Should every server re-implement inetd, though? Why not let that handle connections, daemontools/runit handle process supervision & logging, and focus on what you're actually trying to do?

You don't need OOP for reusability.

In the few cases where scalability matters, you can re-implement the relevant behavior, but that's a performance trade-off.