News for hackers. Stuff that matters.
Re:Why the New V8 Is So Damn Fast by enitihas on Monday July 30, 2018 @11:47PM (#17650400)
Yes for speed purposes. And yes some people may not like types, that's why I said completely optional. Anyways the optimizer tries to figure out the types on it's own, so give it a non blank slate to start with. You are correct in noting that js is already fast enough, but the problem is the sort of performance gotchas(order of keys in objects) as mentioned in the post aren't really obvious during development time. Types may help level the unpredictability.

There are no comments on this comment yet.