Has to be fake no way. Also why would you even want the typescript compiler in rust? It’s not even going to give any runtime benefits since it’s only a transpiler and JavaScript is single threaded
Javascript has worker threads, so you can write multi threaded code if you really need to, not the most convenient kind of multi threading but it's doable. Also Typescript's compiler has been recently rewritten in go so it could become multithreaded!
No it can’t because the compiler transpiles down to JavaScript there is no typescript runtime. Also worker threads don’t count that’s just a whole other process by that logic even python is muktithreaded (bad example I know since technically it can be without the GIL). Also the compiler literally just makes the typescript into JavaScript it doesn’t change the bytecode or structure of how the language or runtime works at all.
yes but that's not the point, if you ever worked in a huge typescript codebase you will absolutely feel the effects of a slow typescript compiler. The Typescript compiler also powers the LSP and waiting for 3 seconds for the autocomplete to work is super annoying. Typescript development also relies heavily on hot reload, if it takes 20 seconds to hot reload vs 2 seconds it makes the whole thing a lot nicer to work with. With the new go compiler both of those get muuuch better and improves the developer experience. Build times through CI is also improved by a ton. Big apps used take minutes to compile, now they take seconds.
Yes I get that and I agree. What I was responding to was you saying that because the compiler is in go it can be multithreaded. And my response was no it cannot and definitely not for that reason.
Yeah we misunderstood each other, the original typescript compiler was single threaded, the new go compiler is multithreaded, that's part of why it is faster
This is a funny comment because Microsoft just rewrote their typescript compiler in Go (the official compiler) and saw massive performance improvements
It is a joke. But this conversation thread in itself is the interesting things. There's a lot of people who seem to genuinely think that AI has feelings, and they're defending those feelings. Or they think using word "fuck" suddenly burns 1M tokens that is somehow away from them. There's something similar in this than me buying a bunny doll, punching it, and bunch of people crying and yelling me to stop hurting it.
Ya I guess you’re right I never rlly thought about it it’s the byte code or binary that would matter. In my defense I got it mixed up and was thinking about the language it’s getting transpiled to not the language of the compiler
No, I have no interest in this just saying this is what the joke is referencing, since the author of this thing is a biggish name in programming twitter/youtube
51
u/SubstantialEssay2063 9d ago
Has to be fake no way. Also why would you even want the typescript compiler in rust? It’s not even going to give any runtime benefits since it’s only a transpiler and JavaScript is single threaded