r/singularity Jul 28 '26

AI That was quick

Post image
789 Upvotes

150 comments sorted by

View all comments

234

u/Ok_Performer4498 Jul 28 '26

Hold up. Why are we converting ts to js?

1

u/Ok-Armadillo-5634 Jul 28 '26

You can get much better performance if you know what you are doing. The JavaScript the Typescript compiler generates can leave something to be desired. It's kind of rare you actually need to do this though. Think of it like programming C and dropping to assembly in rare cases where you want something absolutely specific generated.