Comment by rvz
1 day ago
Well it does suck, and it isn't really great for implementing performant developer tools, such as parsers, formatters and so on.
The performance is that bad that the typescript developers are rewriting the language itself in Go. [0]
Tells me everything I need to know about how bad typescript is from a performance stand point.
[0] https://devblogs.microsoft.com/typescript/typescript-native-...
That’s the lsp not runtime. Bun runs Typescript very fast. It’s a fantastic language and ecosystem.
I’ve just checked FFI in bun and it’s marked as experimental. There are great libraries in C/C++ world and FFI is kinda table stakes to use them.
No where did I say "runtime".
Even with Bun it's because of Zig, not TypeScript and that only proves my point even more.
you're right. we should just not use any interpreted/script languages because they're not as fast as compiled ones.
why does a CLI tool that just wraps APIs need this native performance?
The performance is so bad that the most used software in the world is written using it.