3 ms·
The problem, imho, is that we're trying to cram too many features into a single layer of abstraction. That web-browser, running a complicated mix of javascript
by amelius 11y ago
The problem, imho, is that we're trying to cram too many features into a single layer of abstraction.
That web-browser, running a complicated mix of javascript, CSS, DOM rendering, is too big for a single component that is made by a single organization. Its monolithic design is hindering progress and it is putting security at risk as well.
Instead, why not have the browser run a very simple instruction set (even without garbage collector) to which many scripting languages could compile. Because of its simplicity, security would be very simple to enforce. Imagine the proliferation of programming tools that would naturally occur.
It seems the designers of the web (W3C et al.) are focusing on the wrong, short term, goals of making end-users happy rather than developers.
- moron4hire 11y agoI think your core premise is incorrect (what point is there to all of this development if it is not to make end-users happy?), but your desired outcome is already being worked on: https://github.com/WebAssembly https://github.com/WebAssembly
- amelius 11y agoWell, the point was that the focus should go to developers first, and then to the end-users, instead of the other way around. Supposedly, the end-users will eventually benefit more from this kind of approach.
- barrkel 11y agoUsers are more important than developers. You're underestimating the value provided by HTML: accessibility (everything from screen readers to increasing text size and contrast), hyperlinks (ad-hoc integration), malleability (adblocking is a social good, but it's not just adblocking - there are enormous amounts of tweaks and browser extensions that make the web more useful and easier to use for people). If you create an environment that doesn't focus on making end-users happy, it will lose in competition with one that does. I know I'd fight for the users, despite working on a very complex single page app for a living.
- TeMPOraL 11y ago> It seems the designers of the web (W3C et al.) are focusing on the wrong, short term, goals of making end-users happy rather than developers. Since people are responding that users are more important than developers - I think there's another piece of insight hidden here. The Web was originally designed around users being the developers. Or, publishers, which was an equivalent concept. Given that all of this added complexity is used mostly for the purpose of selling people trinkets they don't need (or selling their data to someone else), I'm still not sure this was a good development.
- icebraining 11y agoYou can't build many of the newer features - Local storage, HTML5 video, WebGL, WebRTC, WebCrypto, etc - just with a new instruction set, since these inevitably must connect to the outside of the sandbox. The evolution of the languages themselves is only a small part of what's pushing the web forward.
- pcwalton 11y ago> Instead, why not have the browser run a very simple instruction set (even without garbage collector) to which many scripting languages could compile. Because of its simplicity, security would be very simple to enforce. Imagine the proliferation of programming tools that would naturally occur. This exists, and you can contribute toward making it happen: https://github.com/WebAssembly/design https://github.com/WebAssembly/design You can even encourage sites to use Web Assembly and assorted Web APIs in lieu of HTML and CSS if you want. Now if you want to go further and deprecate and remove HTML and CSS, that won't happen. Even if we were to see a market shift toward "canvas + WebAssembly", leaving HTML and CSS unused (which I think is very unlikely), there's too much content out there that uses HTML and CSS that you will still want to browse.
- fian 11y agoLike the JVM?