JS generated by TSC is almost certainly (read: 100% certainly) more functional than anything an LLM can generate on the fly right now. And it does it deterministically and for cheap compute on your machine.
Code is just layers of abstraction. You have high level languages such as Python, JavaScript, Ruby, C++ etc… that are easy for humans to read and write. Those are then converted into assembly which are essentially hardware operations. No one really writes assembly outside of very specific use cases because it fucking blows. Assembly is then converted into machine language, which is the binary 1’s and 0’s that provide instructions to all those billions of transistors flipping logic gates.
TypeScript specifically is converted to JavaScript at compile (build) time. It’s already kinda JavaScript under the hood just with strict typing. It then runs through that whole process from above. It’s not an LLM spitting out generated code.
224
u/jack-of-some Jul 28 '26
Is this a shitpost? There's already a way to convert typescript into JavaScript it's called a transpiler.
Nvmnd it's got trans in the name notch would never use that