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

I wonder where that leaves Java, C#, Node.js etc. Do the VMs generate code that suffers from this?


Hmm, interesting question. On the hand JITs do devirtualization, so that on lots of code paths the indirect calls are replaced with direct ones. Which should mitigate the performance issues. However I think the JITs also need to insert the logic and branches for re-jitting and spectreulative execution. These might be additional indirect calls.

Would be interesting how it balances out in total.


yes




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

Search: