News for hackers. Stuff that matters.
Re:Moving from TypeScript to Rust / WebAssembly by harikb on Thursday July 09, 2020 @01:02AM (#23777096)
There are not comparable afaik. WASM is also more ambitious, along with WASI (system interface) creating a portable final executable (compare to JVM), whereas LLVM is only a set of intermediate language and tools.

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.

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.