开发者

What is a good resource to read about stack/heap and symbol table concepts?

开发者 https://www.devze.com 2022-12-16 21:55 出处:网络
Please suggest some website or some book that deals with these topics in really good detail. I need to have a better understanding of th开发者_高级运维ese concepts (in reference to C++):

Please suggest some website or some book that deals with these topics in really good detail.

I need to have a better understanding of th开发者_高级运维ese concepts (in reference to C++):

  1. stack and heaps
  2. symbol tables
  3. implementation of scope rules
  4. implementation of function calls


You could read the Dragon Book, but I guess it might be too much.


For calling functions, this Wikipedia page is great: x86 calling conventions - it explains the various ways to translate function calls to assembly.

Also, this Wikibook on x86 Disassembly, has some interesting pages on this topic:

  • The stack
  • Calling convention examples


Try online version of the "Linkers &Loaders" book. Chapter 11 may help you with these concepts w.r.t C++. A very good book to get your fundamentals right. Try Gustavo's excellent blog to understand concepts of memory management (stack, heap and a lot more).

0

精彩评论

暂无评论...
验证码 换一张
取 消