News for hackers. Stuff that matters.
Re:Future of TypeScript on ESLint by nicoburns on Friday January 18, 2019 @08:04PM (#18944579)
I think if you make things consistently typed (as typescript will help enforce), then your JS will run faster already. Because a lot of techniques JS JITs use are basically guessing the type of variables, and then bailing out into a slow path if it turns out they guessed wrong. Codebases like lodash make use of this, which is one reason why they're so fast.

There are no comments on this comment yet.