4 ms·
If only we are so lucky. Still waiting for a faster typescript compiler.
by natrys 3y ago
If only we are so lucky. Still waiting for a faster typescript compiler.
- _fat_santa 3y agoBun, Oxc and Biome are all great but a typescript rust compiler is something I'm really looking forward to. Right now my web application I've been building just crossed 25k lines of TS code and running `tsc` is becoming a pain point. What used to take 2-3 seconds now takes upwards to 10s, even with incremental compilation enabled in some cases.
- satvikpendem 3y agoSTC by the SWC author should be coming along, I hear. It still will take a while though.
- robinson7d 3y agoSemantic nit: STC is a type checker, SWC already compiles TypeScript well. TSC does both (unless flagged to do one or the other) so it depends on what needs replacing. Why it matters: in GP’s case it sounds like compiling is the problem, so migrating to using SWC as the compiler but keeping TSC as the checker (noEmit flag) in a lint step may ease that pain a bit. Though it might be nicer to migrate both in parallel.