4 ms·
Summarizing the "JSC <3 ES6" discussion and translating to WebAssembly: no ServiceWorker, polyfills from C++ / asm.js to WebAssembly won't be fast enough, "ES6"
by jfbastien 9y ago
Summarizing the "JSC <3 ES6" discussion and translating to WebAssembly: no ServiceWorker, polyfills from C++ / asm.js to WebAssembly won't be fast enough, "ES6" is a bad name and so is "WebAssembly", "we" is the WebKit team (as individuals), no tail call in WebAssembly but it's on the roadmap.
https://news.ycombinator.com/item?id=14489577 https://news.ycombinator.com/item?id=14489577
Now that these points are out of the way, let's discuss implementation details, WebAssembly, and things!
- baq 9y agoGive me qt in the browser, the rest are details.
- jlebrech 9y agoboom, qt, gtk, even xlib (or a win32 clone) would be better than html/css/js bullshit
- majewsky 9y agoHTML/CSS/JS has some huge advantages from the user perspective. When a designer has made some questionable choices, all it takes is a user stylesheet or a quick tour to the devtools to fix the font size and contrast ratio. The whole world of extensions that improve existing websites with additional buttons etc. is only possible because the page structure is exposed in the DOM. If Reddit were only WASM rendering on a <canvas>, there were no "Better Reddit" extensions.
- jlebrech 9y agoreddit would probably have an opensource rendering layer or third party uis that use it's api. wasm will be the new android without the need to install apps.
- majewsky 9y agoThat's what they said about HTML 5, too.
- k__ 9y agoAlso, nobody wants to pay a C++ dev for doing a JS devs work, haha
- jlebrech 9y agoyou can still code in js or any other language.
- fpoling 9y agoIt is more like "you can code in any language as long as it JS".
- k__ 9y agoI know. I just thought, with JavaScript front-end development has been commoditized and C++ is harder than JavaScript. So I don't think many people would pay a more expensive C++ dev to use Qt for a WASM based app, if they could get it all going with a cheap JS dev.
- baq 9y agothere's reddit and then there are all the in house enterprise-ish apps that basically amount to moving buckets of bits between cross-linked tables for which html+css is not cost effective.
- oblio 9y agoHow do you easily skin xlib or win32? (I think that Qt and Gtk support stylesheets)
- jlebrech 9y agoI think you could still use stylesheets, just not for the good defaults.
- bigato 9y agotcl/ttk is all i want
- Ajedi32 9y agoPlease no. We only just finished killing Flash (mostly); the last thing we need is another UI framework which doesn't respect standard features of the web platform taking its place.
- CyberDildonics 9y agoThat's why you don't want Qt in the browser? It isn't having to download 25MB for a hello world program?