If everything is typed in TypeScript, I see a lot of serious potential for optimization, like using only the memory needed per object exactly like a struct in C or C++.
let x: number = "some string" as any;This actually happens a lot with types from DefinitelyTyped that are not maintained by the original author of the library.
Curious, which languages compile that fast to WebAssembly?
And well over 2 seconds for Webpack to deal with (just) bundling 6 JS files and the .wasm file.