In the book I'm reading something like:
... the compiler provides somewhere in memory a hosting space for that object, either in the memory space reserved for local variables (stack), either in the memory space reserved for data, either in the free memory space (heap)
-
But after all, what is the stack and the heap?
-
Which one performs best?
-
Where are these memories on our physical PC?