4 ms·
Not trying to be rude, but there’s roughly 0% chance it changes everything. It will change some things for sure. But we’ve had compile-to-js languages for some
by erikpukinskis 7y ago
Not trying to be rude, but there’s roughly 0% chance it changes everything.
It will change some things for sure. But we’ve had compile-to-js languages for some time and they’re a pain. Compile-to-ws is better, but still has the same fundamental pain points (debugging mostly, and then browser compatibility).
By changes everything, you mean no large amount of devs will keep targeting vanilla html+Js and I just can’t imagine that future.
- JMTQp8lwXL 7y agoMaybe the concept of sourcemaps could be applied to WASM to maintain the pretty awesome developer experience we've come to realize in browsers. I'm transpiling TypeScript -> JS and able to debug my code, with sourcemaps, in Chrome.
- erikpukinskis 7y agoThat’s true, it’s easier if you don’t have to do any cross browser testing. But I still find the debugging very weird. The fact that the VM is stopped on a different line of code than I’m looking at seems to always introduce small little confusions. Have you never had that experience? It’s possible I’m just overdue to try the tools again. I’ve had a lot of bad experiences.