Comparison of Operating System Complexity (2020) [pdf]
pspodcasting.net
pspodcasting.net
Relevant discussion: https://news.ycombinator.com/item?id=26418992
[1]: https://www.x.org/releases/X11R7.5/doc/x11proto/proto.pdf
[2]: https://cgit.freedesktop.org/xcb/proto/plain/src/xcb.xsd
But on a serious note, this complexity is not all useless. A significant part of it is essential complexity that can’t be reduced. And frankly, these layered abstractions allow us to do any real work. Just understand your stack very well and one or possibly two layers below — that is what makes you a great developer.
Nobody looked at the whole stack for quite some time. But it would be time to do so, imho.
The stack is crufted and the necessary complexity is smeared all over it—hold together with a lot of not essential complexity.
Rethinking the whole stack form the ground up (hw layer) through the OS up to distributed networking systems is long overdue in my opinion. But actually nobody designs systems anymore! It's only pilling up yet another layer on top of all the existing cruft.
This hinders also progress in general as it's not possible any more to try out radically new ideas. All "new" ideas are necessary constrained by the existing stuff. You can't "move sidewards" any more to create truly innovative systems.
It would be a good idea to start to look at the whole stack again. And to move things around to decruft it once again.
That's a lot of work of course at the current state of affairs but it would improve a lot of things I guess.
To point out precedence for the suggestion. They're doing the same currently with the std. network stack: The layers we've got are crufted and there been a lot of hacky solutions to cross-cutting issues around. The way forward now is to reimagine the whole stack in hindsight of present-day knowledge about possible design space and current requirements.
What is happening there? Putting 100K of integers in a linked list gives you +100K of overhead. Putting 100K of text in Word gives you 100M overhead. Ridiculous.
That 100K of text in a word processor has a context. For example, people expect word processing documents to be paginated. Pagination implies an understanding of how the entire document is formatted. There is also an expectation to be able to position the cursor or select text with a mouse, which means the software has to have more detailed information about how the visible portion of the document is formatted to map screen coordinates to characters. Then there is the memory used to render the visible portion of the document. If you're optimizing for speed instead of memory (which probably explains part of the difference from Word 95 and Word 365), all of that context is going to add up to a significant chunk of memory.
In contrast, that linked list of integers has no context. It is simply a data structure where we have no idea of how the surrounding code will impact memory usage. Well, we could probably make a few guesses based upon the data structure being used. Nodes are most likely added or removed from the head or the tail of the list, and any traversal of the list is likely to be done in a single direction. That's enough to suggest that it isn't being used in a word processor.
Heck, even the data types being compared is problematic. 100k of text implies 100,000 characters. If each character is stored as a byte and each pointer as 4 bytes, that 100k of text is now 500k in a linked list (make that 900k on 64 bit systems). If you're using UTF-16, which is likely for Word, that becomes 600k and 1M.
Any word processor that takes a naive approach or is optimized for performance instead of memory is going to consume a lot of memory.
Back when there were more extreme hardware constraints you couldn't ship if your program was going to take up all your RAM in a few minutes.
I'm guessing this and that it has a lot more features (bot necessarily necessary features) these days so automatically a lot more engineers which means a lot more inexperienced engineers because there are only so many experienced ones.
I expect it is only added to because 1) nobody understands what would happen if you removed something and 2) if you intentionally or inadvertently remove some obscure feature then it breaks the workflow for people who inexplicably depended on that feature.
new releases need new features → bloat
managers need promotions → hire more devs → more bloat
devs need promotions/evaluations → refactorings/abstractions → extra bloat
corporate dictums/strategies (add .net this and that) → bloat city
people leave → knowledge is lost → old code gets worked around/stuck → bloat
---
just a crazy supposition, but i'd guess programs/apps that stay under the radar stay small and maintainable, programs and apps that are popular suffer from a smothering of resources/people that inevitably bloat it up (just look at itunes for another example)
From this you may draw any further conclusions necessary.
He does have some valid points, but his insults don't help.
And no, troff is neither elegant nor capable ;)
I accurately guessed that this essay/screed(?) was typeset in troff, given the abundance of minor formatting and typesetting errors.
This particular kind of "return to tradition" OS zealotry has always deeply bewildered me: our own dear author can't complete an essay in troff without scattering errors all over the place, so why in the world are they encouraging professional users to give up all of the functionality that prevents these errors?
But yes, more sophisticated software is needed on occasion. The existence of pencils do not necessitate the burning of all pens and the persecution of its wielders. I apologize if my article causes offense, it is written in a somewhat opinionated style, in the hope of creating a humorous read. But I'm sure a tad bit of arrogance also slipped through...
If on the other hand you are refering simply to typo's, then yes, I do rightly deserve criticism. I have a light reading disorder and my mother tongue is not English. But I am working on this :)
Really interesting to see Plan9/9front coming closer to laypeople (of which I sure am one) through this kind of discussions year by year. Maybe it is not that much of a fringe OS any more?
1: https://pspodcasting.net/dan/blog/2019/plan9_desktop.html
2: https://pspodcasting.net/dan/blog/2018/slackware_desktop.htm...
3: https://pspodcasting.net/dan/blog/2018/console_desktop.html
https://nelsonslog.wordpress.com/2019/02/16/plan-9-rides-aga...