Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is one of my nightmares. But considering how much devs hate js it's inevitable. I almost see it. HTML replaced with some binary WASM bs framework.


Then someone will reimplement a dom and a script language in wasm. History is going in circles.


Not quite a circle. There'd be progress in that you could choose your "Javascript" and "DOM", which really opens up a lot of possibility for progress. No need to force eternal compatibility or put up with bad APIs- just pick a better version.


This! You will be able to implement your own browser in the browser, with your own brand new accessibility API, i18n and l17n API's, and your own bugs, of course. We can compile Chrome or WebKit into Wasm and then use them everywhere, even in Firefox!


But you'd still need a browser that supports HTML to load the WASM and display it.

Realistically, that would be not much different than current sites using JS, or Flash when that was a thing, or even Java applets. None of those deprecated or replaced HTML, and WASM won't either. At worse, it will be just another thing you can block with a script blocker.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: