3 ms·
You can compile languages like C/C++ and Rust to it. Sometimes this gives a performance boost, but most of the time it gives you just more uniform performance b
by k__ 6y ago
You can compile languages like C/C++ and Rust to it. Sometimes this gives a performance boost, but most of the time it gives you just more uniform performance behavior.
Then you can compile stuff like Java or C# to it, but end up with huge runtime bundles. But you get much of the C# behavior from TypeScript without the huge runtime, because it compiles directly to JavaScript.
- wtetzner 6y agoIt also allows you to run existing code in the browser, without having to do a rewrite.
- stjohnswarts 6y agoThis seems like the biggest advantage to me. Not everyone wants to rewrite and debug their several thousands of line rust/c++ program into typescript.