3 ms·
In what way would it noticeably differ from the LLVM IR then?
by mattcoles 9y ago
In what way would it noticeably differ from the LLVM IR then?
- steveklabnik 9y agoLLVM IR is not platform independent, for one. See http://webassembly.org/docs/faq/#why-not-just-use-llvm-bitcode-as-a-binary-format http://webassembly.org/docs/faq/#why-not-just-use-llvm-bitco... for the projects' own explanation on this topic. I share the parents' excitement in this regard. The spec is well written for this kind of thing, and I think it has a lot of potential. We'll see!
- andromeduck 9y agoSounds like JVM
- KMag 9y agoThe JVM also forces one to adopt the JVM's high-level object model and use the JVM's garbage collector. Plenty of languages have a large semantic mismatch with Java, and shoehorning them onto the JVM is cumbersome.
- usrusr 9y agoBut so far, all those frankenstein hacks still had better interoperability between guest language and java than what you get between the natural peers of js and wasm. It's too early to point fingers that way.