Re:Making WebAssembly better for Rust and for all languages
by andromeduck on Wednesday March 14, 2018 @10:24PM
(#16590031)
But why use webasm for that when llvm already does it better?
[ Parent
| on HN ]
Re:Making WebAssembly better for Rust and for all languages
by harpocrates on Wednesday March 14, 2018 @11:03PM
(#16590159)
I'm not sure I understand: WebAssembly is the output of a (hopefully) optimizing compiler. LLVM is such a compiler backend. If you use WebAssembly today, you are probably going through LLVM.
Perhaps you meant: why not use LLVM IR instead of WebAssembly? If so, allow me to refer you to this comment[1] (from a bit further down in this thread).