Skip to main content

All Questions

Filter by
Sorted by
Tagged with
16 votes
2 answers
2k views

What are the advantages and disadvantages of the callee versus caller clearing the stack after a call?

This is more a question about compiler design than language design, but in low level languages, when a function is called, the parameters are pushed onto the stack, and when the function returns, the ...
CPlus's user avatar
  • 9,143