3 ms·
> ...the author has no idea what they're talking about. TypeScript is a superset of JS, it makes no sense to compile it to ... I agree with this. Mentioning co
by Shoothe 9y ago
> ...the author has no idea what they're talking about. TypeScript is a superset of JS, it makes no sense to compile it to ...
I agree with this. Mentioning compilation of TypeScript to WebAssembly shows some misunderstandings of both of these technologies. WebAssembly was designed to run code already written in some low level language like C/C++ because running already written software in a browser is easier than rewriting it. Of course you can compile Rust into WebAssembly but that was not a reason for why WebAssembly (and it's predecessors, asm.js, PNaCL) were conceived.
On the other hand TypeScript makes JavaScript programming easier for when the app becomes too big to maintain without tooling.