Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Dynamic languages need inline caches, type feedback, and fairly heavy inlining to be competitive. Some of that can be gotten offline, e.g. by doing PGO. But you can't, in general, adapt to a program that suddenly changes phases, or rebinds a global that was assumed a constant, etc. Speculative optimizations with deopt are what make dynamic languages fast.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: