by lazyjones · 7y ago · 0 comments
It's not the single browser codebase that hurts the web, any browser with noticeable (maybe 3-5%) market share causes these problems. The main issue is that today, the web as a platform is garbage. It's full of cruft, mostly useless features that cause browsers to be bloated, unmaintainable codebases nobody except 9-figure-budget entities can hope to reimplement. It's an unstable, far too complex platform that wastes billions in unnecessary maintenance work for web developers.
Much of this could have been avoided by knocking some sense into the entities that constantly propose new features and those who implement them as native browser elements instead of JS libraries where possible. Then there's the insanity of preserving unsafe behaviour as default and adding response headers and extra HTML tag attributes to avoid it, so broken sites could stay broken and everyone else had to do maintenance work. I'm not saying Google is the driving force behind this, but it reeks of the same stuff that Microsoft was doing to prevent Word, Excel file formats from becoming readable and writable for the competition.
It's too late to freeze the web platform, it needs to be replaced with something sane and stable, controlled by people with no ulterior motives.
No. When Web devs test in multiple browsers and find that something doesn't work in one of them, they will usually pick an alternative solution that does work in all of them, avoiding the bug in the buggy browser, thus avoiding a situation where their site depends on that bug continuing to exist. It doesn't always work out as well as that, but it often does.
You can wish for something better than the Web platform, but it's a tall order. You want a platform that's not controlled by a single vendor, that has multiple open-source non-patent-encumbered implementations with significant market share, that is available across just about every device, that has a vibrant content/application ecosystem and developer community, that supports everything from simple static content to extremely complex applications like office suites and 3D games. Good luck with that.
Who really needs that in the browser? Native apps are consistently better in every single aspect - more powerful, more privacy-respecting, more eco-friendly, etc. Except native apps are vanishing - a month ago I wanted to fire-up SketchUp on my old Mac, only to find out that the casual 3D scene is now using 100% webapps. The reason we have these abominations is that they're one of the only avenues left for financing app development (either ad-driven, or in a fremium model) because nobody buys software anymore. And that is indeed a contradictory effect of making software a commodity through F/OSS when the original motive was to empower users. Now I know folks chase browsers and wasm and whatnot as the ultimate cross-platform app delivery platform (coming from a 1990s MS and 2010s iOS app dominance experience) and make browsers even more complex. However I whish they could stop and think about if their work is actually helping the situation.
What I think would be helpful is to define a base web profile for content delivery, and then additional profiles for webapps. The "march of progress" argument against versioning and profiling HTML, CSS, devices, and JavaScript we've heard from web standardization efforts isn't convincing at all, and only helps the big guys (basically, only Chrome at this point).
Enterprise IT departments, for one. IT people hate having to install, maintain, update and troubleshoot desktop applications, for obvious reasons. It’s orders of magnitude easier to simply install the app on a web server and have users run it in their web browsers.
I question how many developers do that. Especially for smaller sites if it works in Chrome it's generally good enough.
Everyone used to think that was Google.
Anyway, if by some miracle you do find anyone that matches that description but knows where the lever is to kick everything over to a new paradigm, don't tell anyone about them, because as soon as you do they'll have more ulterior motives then you can count.
You could have some low level thing like web assembly (or even just we assembly itself and get all of the current optimization and standardization work for free) that other languages compile too. And a low level GUI library like Vulkan that you can build libraries on top of.
When was that? Around the time they decided to liberate the web from the evil clutches of Microsoft/IE and ... Mozilla/FF (20%+ and growing at that time)?
We very well may be assuming different actors and motivations where there are none: there's just messaging and market differentiation.
When people still believed in the slogan 'Don't be evil' [1]. Google even removed the slogan. I guess they don't believe in it themselves anymore. The replacement 'Do the right thing' seems like a variation of Nike's.
That's what Google did with the shadow DOM they used on YouTube: since Firefox had no support for it they wrote a polyfill (which is a JS library to emulate a feature) and the resulting performance was terrible.