3 ms·
TypeScript is an extremely dynamic language which supports dynamic typing and has a very flexible type system. It has a type system that's designed for human pr
by mort96 4y ago
TypeScript is an extremely dynamic language which supports dynamic typing and has a very flexible type system. It has a type system that's designed for human productivity, not for machine efficiency. Compiling Typescript down to wasm in an efficient way isn't really possible. Modern JavaScript engines are the fastest ways to run a TypeScript-like language, there's very little if anything to be gained from compiling to wasm.
There is something to gain from writing in a much lower level language though, be it C, C++, Rust, or, yes, AssemblyScript.