Live data from Hacker News

W3C recommends WebAssembly

w3.org

1–10 of 350 posts

Re: W3C recommends WebAssembly

#4
post #2

Write once, run everywhere. I bet in few years we will run wasm natively on processor.

Didn't Apple do some CPU that runs JavaScript in a more optimized fashion? It wouldn't surprise me, which is odd cause for years I heard that was the plan for Java, but regular processors got faster and faster and the VM stayed.

Re: W3C recommends WebAssembly

#7

What's the horizon for WebAssembly capable browsers gaining enough marketshare that it becomes a viable compilation target?

https://caniuse.com/#feat=wasm

Pretty much all relevant browsers support wasm (and I suspect data for the few non-compliant Chinese browsers may be outdated, they’re definitely not last released in 2016 or 2017). Do you have some other idea of wasm-capable?

Re: W3C recommends WebAssembly

#8
This is bad for frontend JavaScript being "open" for review, right?

Companies will ask their developers to deliver WASM resources in the name of performance. As a notable side-effect, it will become harder to review how websites work.

Yes, I'm sure there will be reverse-compilation tools for WASM, but still.

Re: W3C recommends WebAssembly

#9
post #2

Write once, run everywhere. I bet in few years we will run wasm natively on processor.

Didn't Apple do some CPU that runs JavaScript in a more optimized fashion? It wouldn't surprise me, which is odd cause for years I heard that was the plan for Java, but regular processors got faster and faster and the VM stayed.

There have been ARM chips with added instructions for faster JavaScript processing due to some very odd and non-standard behaviour for common operations. See https://stackoverflow.com/questions/50966676/why-do-arm-chip... for more deets.
Post reply on HN