2 ms·
Yes, the Typescript compiler is slow. I tend to notice all compilers as feeling "too slow". I think the cause is that we all have wayyyy too much code. Not t
by jrockway 7y ago
Yes, the Typescript compiler is slow.
I tend to notice all compilers as feeling "too slow". I think the cause is that we all have wayyyy too much code. Not that we write, but when we use a library, that uses 10 libraries, that each use 10 libraries. Now you have a million lines of code, and all you wanted to do was print hello world. The compiler doesn't know until it's read all of that that you aren't using any of it. The solution is to depend on libraries more carefully.
As the go team says, a little copying is better than a little dependency. This is a motto that the npm community has NOT taken to heart. The cost is slow build times. (To be fair, the go community has not taken this to heart either.)
- ha99ja 7y agowhat library do you use to print hello world?