Re:WebAssembly Interface Types: Interoperate with All the Th...
by the8472 on Wednesday August 21, 2019 @03:40PM
(#20760850)
I doubt you get the same performance as direct compilation. LLVM ir carries lots of annotations useful to optimizing passes, e.g. aliasing information.
[ Parent
| on HN ]
Re:WebAssembly Interface Types: Interoperate with All the Th...
by sunfish on Wednesday August 21, 2019 @03:54PM
(#20761007)
The twist is, you can produce wasm from LLVM, including running the full mid-level optimizer first, which is the part of LLVM where those annotations and aliasing information are most valuable.