3 ms·
Typescript transpiles to JS with a bunch of runtime checks woven in resulting in much slower code than equivalent barebones JS. There are benchmarks that show t
by abraxas 3y ago
Typescript transpiles to JS with a bunch of runtime checks woven in resulting in much slower code than equivalent barebones JS. There are benchmarks that show this.
- fredrikholm 3y agoCould you share some of these benchmarks? This is news to me; AFAIK TS transpiles into minimized JS and has 1:1 runtime characteristics.
- yokljo 3y agoThis is false. TypeScript does not add any run time checks, but it does encourage you to add some yourself.