by pointernil · 11y ago · 0 comments
Now every other http server implementation should need to explain every byte it is larger and every ms it is slower it terms of "why?" and "what for?" and "who gains from this?" ;)
I don't know, for longer already I don't buy this tales about "it needs to be this large because..." ... mostly legacy, abstractions and ease of code maintenance etc. This took us all into the world in which the very smallest app on the phone reacting to a click with a "beep" takes how much memory? And the software development craft accepts unbelievable inefficiencies. Memory, Cpu manufactures for long time added to this fires by essentially mis-nurturing devs by optimizing in the background and by creating an environment of limitless virtual resources. I like how "battery-life" enforces, brings back some old ideas on efficiency and software craftsmanship.
Humanity starts to deal with limits of its planet, its own limits and maybe this kind of thinking will bring back some level of limits into the virtual realms as well? I think we would gain from it.
(Now, if you want to talk about the actual efficacy of HTTP vs other stateless protocols, that's a different story... But I doubt we're going to go there in a thread about an assembly HTTP server where people are ooh'ing over the achivement. Not that it isn't cool, TBQF.)
Programmers at large really need to stop being pretend philosophers clutching at straws about "why things are so darn bad today!!!" (among other psuedo philosophical positions). They're mostly terrible at it, and it's almost always just so damn hamfisted and full of itself.
There is a long (albeit minority) tradition of thinking this way in computing, one that values small, intelligible systems as the best way for humans to work with computers. An example of this philosophy surfaced here recently (https://news.ycombinator.com/item?id=9689800) and there are countless others.
HN itself has a rich history with this model. It was created by a practitioner of it, is written in a language inspired by it, and the smallness and intelligibility of the code are always on our minds when we work on it.
We need more projects like this. They are deeply satisfying systems to build and work with, because they're human-scale in the way that behemoth software is not.
It seems close to the Occam's razor.
https://en.wikipedia.org/wiki/Occam%27s_razor
I like this quote from Chuck Moore (from Forth).
"We need dedicated programmers who commit their careers to single applications. Rewriting them over and over until they’re perfect. Such people will never exist. The world is too full of more interesting things to do. The only hope is to abandon complex software. Embrace simple."
https://www.simple-talk.com/opinion/geek-of-the-week/chuck-m...
thoughtpolice: "because it shouldn't take very much thought to see why HTTP servers are fairly complex pieces of software"
Dijkstra: "He was the first to make the claim that programming is so inherently complex that (...)" (from Wikipedia)
Down with industry pessimists and "astronauts" that think everything must be complex.
You did overlook the ";)", right? I did not intend to pluck that string of yours. Sorry about that.