Dec 30, 2017

Bringing The Web Up To Speed With WebAssembly

Nov 14, 2017

> People don't learn.

Do you? The comparison with Java has been made before, including on HN.

"While Java and Flash [2] came early to the Web and offered managed runtime plugins, neither supported highperformance low-level code, and today usage is declining due to security and performance issues. We discuss the differences between the JVM and WebAssembly in Section 8. "

Aug 04, 2017

"Microsoft’s ActiveX[1] was a technology for code-signing x86 binaries to run on the Web. It relied entirely upon code signing and thus did not achieve safety through technical construction, but through a trust model."

Jun 06, 2017

I think you're misunderstanding Fil's point: JS is more expressive, and can often encode more things in a smaller package.

For same-code wasm / asm.js / x86 comparison (not what Fil was talking about) see section 7.3:

Additionally, WebAssembly definitely needs to be parsed. See: and

Granted, that's simpler than parsing JavaScript.

Jun 06, 2017

That is incorrect. See:

These are already old numbers, and section 7.3 says 33.7% more efficient. Were one to run updated numbers, and use more than Chrome and Firefox, I'm pretty sure the numbers would be better still.

Jun 06, 2017

You might be interested in this thread from a few weeks ago.

For me, the most helpful comment in that discussion was a link to this paper, written by the WebAssembly designers.

May 15, 2017

They often forget to mention, that WebAssembly is just a low-level programming language (much lower than C), it has extremely simple syntax (it has just four data types, no system calls, the specification takes 5 pages instead of 500 pages of C spec). You may call it a "bytecode", but typical bytecodes also have around-500-page specifications.

Also, its relation to javascript is not any bigger than the relation to any other programming language (i.e. there is no relation). A WebAssembly VM could be made as an extension of any environment.

I recommend reading the official paper (I learned more than about 50 "essays" that I read about WASM in the past).

Mar 23, 2017

This paper is great for understanding WASM in depth: