Hacker News new | past | comments | ask | show | jobs | submit login

Main reason is probably just that x86s have so very few registers.

Most C++s have a pointer to the current object (bp), virtual objects then contain a pointer to a vtable (to save space) so it's a double indirect load - also I suspect (it was a long time ago) that parameters were already being passed in registers, they would have had to leave a free reg to use as a temp






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

Search: