Yeah, that's the reason why Flash and Java are preferred on the web over the mess we have – things sure are great where you give one company a way to dominate and control the platform ;)
And on this topic in particular, I don't think it's even replacing the mess: it's just adding to it. If HTML, JS and CSS are still there then Flutter Web is just another layer of shit slapped on top of it, with the exact same inherent problems that Angular are others still have. If it at least replaced JS with Dart-compiled-to-WASM I'd see it as an improvement, but as of now it just seems like yet another translation layer with the exact same problems as all the other ones have.
Flutter Web is built on top of existing HTML/CSS/JavaScript standards. We do not require any proprietary browser features. We do stumble upon browser differences here and there, but that's because browsers do not implement the standards 100% identically, not intentionally. However, you could say that we use these standards in an unorthodox way. You wouldn't be entirely wrong. We actually tried a more typical approach in a prior prototype (details in my blog post), but we failed to express the kinds of UI and interactions that Flutter is used for, so we had to be creative. We actually use a small subset of HTML and CSS because the Flutter framework does a lot of heavy lifting for us (e.g. layout), so we avoid a lot of "the mess" :)
WASM, WebGL/WebGPU are still options for us (or the community) to explore in the future. For now, we are trying to see how far we can go with the HTML/CSS/JS stack. This stack is adding interesting new capabilities too. For example, we're exploring the upcoming CSS Paint API.
11
u/tonefart May 08 '19
Why bother? You'll just be letting google take control of development standards for web (html5/javascript/css)