| ▲ | JoshTriplett 5 hours ago | ||||||||||||||||
That would be more true if WebAssembly didn't share so much sandboxing infrastructure with JS. If anything, I'd argue that WebAssembly is a much smaller surface area than JavaScript, and I think that will still be true even when DOM is directly exposed to WebAssemly. | |||||||||||||||||
| ▲ | lich_king 5 hours ago | parent [-] | ||||||||||||||||
I don't think it's "much smaller" once you aim for feature parity (DOM). It might be more regular than an implementation of a higher-level language, but we're not getting rid of JS. By the same token, was Java or Flash more dangerous than JS? On paper, no - all the same, just three virtual machines. But having all three in a browser made things fun back in the early 2000s. | |||||||||||||||||
| |||||||||||||||||