Earlier quoted context omitted.
As in, JS development for browser? You'll still need JS to run WebAssembly in the browser. It'll bury JS in the sense that you are able to develop in any other language like C++, and compile your program to JS+WebAssembly, so you don't need to develop in JS anymore. But JS itself (under the hood) is probably to stay for longer.
And then if all web apps move to a canvas-painted UI with all the code in web assembly then there will be a major accessibility problem. Unless screen readers can now dive down into the canvas layer?
WebAssembly becomes a W3C Recommendation
21–30 of 248 posts
Re: WebAssembly becomes a W3C Recommendation
#22Is it safe to say, future frameworks/websites can choose to stick to HTML/CSS/WA and completely bypass JS?
It would be hard (maybe not impossible) to access the DOM in WA without a GC making sure everything is sound, because the DOM and JS (meaning the GC) are very coupled. Currently, JS is used as a mediator between the two - so you do need some JS (but it could well be JS that you never have to write yourself). I recall one of the spec authors saying in an HN thread that a GC would be added eventually, back in the infan…
It's enticing to imagine being able to open a wasm file and seeing an application on the page. Kinda like how you can just open an image or a video in the browser, without rendering it via an html document.
Re: WebAssembly becomes a W3C Recommendation
#23Is it safe to say, future frameworks/websites can choose to stick to HTML/CSS/WA and completely bypass JS?
It would be hard (maybe not impossible) to access the DOM in WA without a GC making sure everything is sound, because the DOM and JS (meaning the GC) are very coupled. Currently, JS is used as a mediator between the two - so you do need some JS (but it could well be JS that you never have to write yourself). I recall one of the spec authors saying in an HN thread that a GC would be added eventually, back in the infan…
This wasn't the intention when the script tag was introduced. It's interesting that the web standardized on one programming language.
Re: WebAssembly becomes a W3C Recommendation
#24Why does the testimonial contains only Chinese company? I think it's really great but it would be better to have company from all around the world
Re: WebAssembly becomes a W3C Recommendation
#25Earlier quoted context omitted.
As in, JS development for browser? You'll still need JS to run WebAssembly in the browser. It'll bury JS in the sense that you are able to develop in any other language like C++, and compile your program to JS+WebAssembly, so you don't need to develop in JS anymore. But JS itself (under the hood) is probably to stay for longer.
And then if all web apps move to a canvas-painted UI with all the code in web assembly then there will be a major accessibility problem. Unless screen readers can now dive down into the canvas layer?
Text recognition is getting pretty good nowadays afterall.
Re: WebAssembly becomes a W3C Recommendation
#26Earlier quoted context omitted.
WASM is angling to break out of the web and become a cross-platform runtime. Its main competition for this space is Java.
some of the compute workload still needs to be on a backend because of security concerns. if you offload too much stuff on a client-side, then any hacker can mess with it and break your system. for example you can get angular debugger extension for chrome and mess with any online shop that uses this system to "adjust prices" for your cart during checkout
Re: WebAssembly becomes a W3C Recommendation
#27Earlier quoted context omitted.
WASM is angling to break out of the web and become a cross-platform runtime. Its main competition for this space is Java.
some of the compute workload still needs to be on a backend because of security concerns. if you offload too much stuff on a client-side, then any hacker can mess with it and break your system. for example you can get angular debugger extension for chrome and mess with any online shop that uses this system to "adjust prices" for your cart during checkout
Re: WebAssembly becomes a W3C Recommendation
#28Earlier quoted context omitted.
It would be hard (maybe not impossible) to access the DOM in WA without a GC making sure everything is sound, because the DOM and JS (meaning the GC) are very coupled. Currently, JS is used as a mediator between the two - so you do need some JS (but it could well be JS that you never have to write yourself). I recall one of the spec authors saying in an HN thread that a GC would be added eventually, back in the infan…
I'm a web dev and I don't know much about WASM. I've been wondering - will it be possible to render something to the screen without first going through the DOM? Or is the DOM literally the only way to display content? It's enticing to imagine being able to open a wasm file and seeing an application on the page. Kinda like how you can just open an image or a video in the browser, without rendering it via an html docum…
Of course, why not just use a small HTML+JS shim for your WASM?
Re: WebAssembly becomes a W3C Recommendation
#29Earlier quoted context omitted.
WASM is angling to break out of the web and become a cross-platform runtime. Its main competition for this space is Java.
some of the compute workload still needs to be on a backend because of security concerns. if you offload too much stuff on a client-side, then any hacker can mess with it and break your system. for example you can get angular debugger extension for chrome and mess with any online shop that uses this system to "adjust prices" for your cart during checkout
Re: WebAssembly becomes a W3C Recommendation
#30[0] https://www.destroyallsoftware.com/talks/the-birth-and-death...