Earlier quoted context omitted.
> From what I understand, WebAssembly ASTs will be very similar structurally to asm.js ASTs in order to permit easy JS fallbacks. At least initially it'll be similar to asm.js, yes. > You can do AOT compilation of JS too. No, you can't. You don't have all the type information needed.
> "No, you can't. You don't have all the type information needed." https://github.com/toshok/echojs
Very advanced optimizations. Emscripten doesn't do that (not yet, but LLVM has PGO).