News for hackers. Stuff that matters.
Re:How porting to TypeScript solved our API woes by giulianob on Wednesday April 08, 2020 @05:15PM (#22817243)
Yes, absolutely a language without types is slower. Performance nowadays is almost always due to memory access patterns and allocations. Dynamic languages not only do not often have enough information to properly allocate memory in an efficient layout but they also tend to allocate a lot overall. Assembly is generated by languages that are compiled natively or on the fly for JIT languages. The type info is used to generate more efficient assembly.

There are no comments on this comment yet.