4 ms·
it isn't, i have codebase in golang that is much larger than typescript and it is pleasant to work with lsp and compiles smoothly. With typescript i have to tur
by newusertoday 3y ago
it isn't, i have codebase in golang that is much larger than typescript and it is pleasant to work with lsp and compiles smoothly. With typescript i have to turn off lsp and even after that it takes long time too compile. There is a reason why people are writing typescript compiler in rust.
- IshKebab 3y agoHe's talking about compilers for small languages. The Typescript LSP works fine on very big projects like VSCode so I think you'd need an enormous language like C++ or Rust before you'd run into those limits. But still, I think I'd rather use Rust. I'm pretty sure the code would be nicer (e.g. no need for the explicit tag field or for the visitor hack).
- baq 3y agoI see ‘TS server has been restarted 5 times in 5 minutes’ daily.
- iends 3y agoI don’t see this and I work on large enterprise websocket server with almost a million daily active users. In fact, I think we had 100% up time for the last 12 months except for a few AWS outages. Codebase is 10 years old and was CoffeeScript -> ES6 -> TypeScript.
- baq 3y agonono, I mean the LSP in vscode. prod deployment is unrelated.
- tejinderss 3y agoThe author is no stranger to rust (he’s creator of rust-analyser). The reason why he’s pitching typescript here is due to its high level nature and doesnt have to deal with memory management, low level integer types etc.
- IshKebab 3y agoI know. I'm just expressing my opinion that he hasn't really made me want to use Typescript over Rust for this case. I like Typescript and Deno. But I'd still rather use Rust here. I would love it someone made a RustScript though which would be basically Rust but with arbitrary precision integers, garbage collection etc. (but still value semantics).
- deleted 3y ago[deleted]