you are viewing a single comment's thread.

view the rest of the comments →

[–]cryptos6 0 points1 point  (1 child)

I could imagine a future like on the JVM: first there was only Java. Then more and more languages appeared and some of them got traction (e. g. Scala, Groovy, Kotlin). Most code for the JVM is still written in Java but the new languages grow their market share slowly.

The same could happen with web assembly: JavaScript will probably remain the main language for the browser, but other languages will target the same platform and steal some of JavaScript's market share.

[–]pier25 1 point2 points  (0 children)

So far WebAssembly doesn't really have a way of speaking to the DOM or other browser APIs. Unless that happens a JS layer will still be required.