5 ms·
The Web started as a document display and delivery framework. Now it has turned into an application delivery framework, which uses the old document-rendering
by nine_k 6y ago
The Web started as a document display and delivery framework.
Now it has turned into an application delivery framework, which uses the old document-rendering abilities to display the UI, with many quirks and workarounds, because DOM was never intended as a performant dynamic medium.
With canvas and WebGL taking more and more, it will turn back into an X terminal, with more advanced network capabilities.
If most important sites switch to canvas rendering, what used to be the browser can be radically simplified and made lightweight and much faster. The 'legacy' full-web sites can be shown using a plugin that does all the fancy and heavyweight HTML 5 and CSS 3 stuff.
Also, with webassembly running JITted platform-independent code delivered over the network, and displaying it in a platform-independent graphical client (née browser), the promise of Java from 30 years ago will finally come true — sans Java proper, though.
- hobs 6y agoYou say this like it wont be used to completely remove all user choice and be an utter disaster.
- nine_k 6y agoWhy, I thought I was describing an anti-utopia, a kind of a dark cyberpunk future, because half of the dark cyberpunk future predictions from 1980s have come true already.
- artificial 6y agoYou’re going to own nothing and be happy.
- quickthrower2 6y agoWhat do I “own” when I open a site that is a tiny HTML doc and 300kB of minified JS, plus 100 fetch calls for JSON data to render? At that point, use the DOM, use a canvas or a literal paint brush, I don’t care.
- jtsiskin 6y agoCan at least block ads still (mostly…)
- quickthrower2 6y agoThat’s a good point. The only way to block now is to refuse to use the site.
- tshaddox 6y agoIf a developer wants to “remove all user choice” on the web it’s already very easy for them to do that. The only new concern here is that developers will be tempted to use tools/frameworks for unrelated reasons (maybe convenience, cross-platform support, etc.) and those tools/frameworks will just happen to also remove user choice.
- nine_k 6y agoMany developers work on removing the user's choice (not) to see ads. But the pesky open nature of the web gets in the way.
- tshaddox 6y agoI don’t think the open nature of the web gets in the way. Those developers could quite easily generate a screenshot of the website they’re building and ship the screenshot instead of the HTML/CSS/JS.
- Sophira 6y agoThey could... except: a) It would be completely inaccessible to blind users; b) Sometimes devs want to be able to give users some choice, like copying text, and this is impossible with your proposed method. These two reasons alone mean it's undesirable for devs to use these, and they're problems that Canvas addresses - albeit by letting the devs have that choice, but not the users.
- tshaddox 6y agoThere are several other ways to prevent copying text or making it difficult, some of which probably don't impact screen readers (although I'm skeptical that many developers would be intent on preventing the copying of text while also caring about screen readers). And, of course, if the developer wants to allow copying text, that's trivial. How does canvas give a developer more ability to choose which things the user can and cannot do?
- foolfoolz 6y agoyour choices are still there. go to whatever website you want. but i think users will want to go to the best websites that have the highest production value and may not be built the same way as we did 20 years ago most people don’t come to the web for choice, they come for the apps
- lawwantsin17 6y agoAh, a plugin you say. What does this magic plugin do again?
- throw_m239339 6y ago> With canvas and WebGL taking more and more, it will turn back into an X terminal, with more advanced network capabilities. Not really, Canvas is just that, a blank canvas. The issue is that it's up to the developer to implement everything on top. It's very hard for me to believe that Canvas would be more efficient than DOM for creating text documents. Obviously there are limitations to CSS or the DOM. But then wouldn't SVG be a better alternative than straight out drawing pixels on screen?
- manx 6y agoI'm wondering if at some point it makes sense to compile servo to webassembly and let it render to a canvas. Producing a good user experience with pure canvas rendering is a lot of work. A tree stucture to manage UI elements makes this easier. Flutter is going in a similar direction here. The interesting thing would be that the engine wouldn't need to conform to web standards anymore, while providing a guaranteed consistent cross browser experience. One could probably strip away lots of old dom concepts that make the dom slow today.
- flowerlad 6y ago> With canvas and WebGL taking more and more, it will turn back into an X terminal, with more advanced network capabilities. For some specialized apps this will be great, but for apps in general this is not a good idea at all. If it was, we'd be using Java applets today. HTML+CSS based apps are highly constrained. But that's a positive, not a negative, because it is the constraints that makes HTML based apps predictable, consistent and usable.