r/AskProgramming • u/procrastinator0000 • Apr 20 '26
Other Why are browsers such huge pieces of software?
Yeah, I know it's because they do a lot of things, Sherlock.
I also know that it's easier for non-techy users if everything simply works out of the box and that there are corporate incentives to create incompatible digital walled gardens.
More precisely: Why are browsers not more modular?
Take the web page renderer for example. As far as I am aware every browser (engine) has their own. But for the sake of compatibility, wouldn't it be much more reasonable to have a separate executable responsible for only the page rendering? This is already done with things like QT and GTK, but why not for rendering web pages?*
Same goes for built-in password managers. All those that I ever interacted with suck. Why spend effort maintaining that and have that be a browser extension (which I assume is the option most tech-literate people use anyway) or a separate package to install on your system?
I'm sure there are more and also better examples for things that could be less monolithic.
The fact that a browser is such a huge project to do leads few browsers at all (that aren't literally the all just chromium or firefox under the hood)
Not part of the question, just yappin:
A lot of things are done in a modular way. I'd say the majority of them work great and the software ecosystems around things that are built around the concept of working together are much healthier. (eg. smtp, xmpp, http, pipewire, dbus, there are probably better examples but you get the point)
*: I am aware of qutebrowser
View all comments
Show parent comment
6
u/webbitor Apr 21 '26
My ass. Everything is made with a javascript framework whether it needs one or not.