3 ms·
> What's the difference between a single-page web application in WebAssembly and a single-page java applet in java bytecode? What's the DOM adding? With the DO
by ssalazar 10y ago
> What's the difference between a single-page web application in WebAssembly and a single-page java applet in java bytecode? What's the DOM adding?
With the DOM you don't have to reinvent the numerous wheels it provides (text, images, layout, controls) nor do you have to use the visually inconsistent versions of these applets provided.
Java is also owned by Oracle, and was previously owned by Sun, so its development has/will always be directed by the needs of its owners rather than the community at large.
> Suppose I want to run Quake in the browser. Applets already do that.
I dont think this is the primary motivation for WebAssembly.
> It's not a new idea or a new technology.
Sure, but there are crucial implementation differences (i.e. DOM interaction), differences in the presentation and culture, and political differences.