Re:Moving from TypeScript to Rust / WebAssembly
by jfkebwjsbx on Thursday July 09, 2020 @03:27AM
(#23777810)
WASM isn't "more ambitious". It is a spec for portable bytecode, nothing more, nothing less.
LLVM is one of the best toolchains for many languages.
They are completely different things.
Re:Moving from TypeScript to Rust / WebAssembly
by harikb on Thursday July 09, 2020 @11:07AM
(#23781072)
Yes, I agree. Wording wasn't right. What I meant was that it is trying to define a universal target with runtime system interface and such. The only reason I drew a comparison was that both are trying to bring standardization, but in different contexts.
When this transition period goes away, LLVM should hopefully compile to WASM binary as a target. The current path described in the video of WASM -> C -> clang -> llvm -> native-binary is a temporary workaround afaik.