Readit News logoReadit News
Kyza commented on PR that converts the TypeScript repo from namespaces to modules   github.com/microsoft/Type... · Posted by u/Kyza
simlevesque · 3 years ago
The headline is pretty misleading. The TypeScript compiler isn't implemented with modules. This is an open pull request which would make it that way.
Kyza · 3 years ago
Oops, I didn't mean to mislead. I updated the title to be more clear.
Kyza commented on PR that converts the TypeScript repo from namespaces to modules   github.com/microsoft/Type... · Posted by u/Kyza
Kyza · 3 years ago
I think a performance improvement in anything existing is great. Especially for something as big as TSC. It has such a large amount of usage that many people will appreciate. While it would be great to have it reimplemented effectively in something inherently faster, not improving what we have while it's clearly still the best option wouldn't be helpful.
Kyza commented on PR that converts the TypeScript repo from namespaces to modules   github.com/microsoft/Type... · Posted by u/Kyza
Kyza · 3 years ago
> TL;DR: The TypeScript compiler is now implemented internally with modules, not namespaces. The compiler is now 10-25% faster. tsc is now 30% faster to start. Our npm package is now 43% smaller. More improvements are in the works.

Dead Comment

u/Kyza

KarmaCake day438January 14, 2022
About
https://github.com/Kyza
View Original