DEV Community

loading...

Discussion on: TypeScript is slow. What can we do about it?

Collapse
ender_minyard profile image
ender minyard

JavaScript has performance limitations. We can see this with slow SPAs. Now, with TypeScript, we're seeing the limits of JS as well.

If I were using TS, I would always target WASM, then do a plain JS fallback for browsers that don't support WASM (module/no-module pattern).

Collapse
alekseiberezkin profile image
Aleksei Berezkin Author

Yep, WASM is promising, and its support in node is coming. I'm talking about node because I'm discussing the development process here which is usually supported by TS server running on node. But anyway, a lot of applications, as expected, may benefit from full WASM support.