CS 3304: Comparative Languages
Object-Oriented Programming
[
Course Documents
] : [
Object-Oriented Programming
]
Previous
Contents
Next
Keyword Index
Allocation and Deallocation of Objects
From where are objects allocated?
Stack-allocated objects are more efficient, but then not all object references are uniform
If they all live in the heap, references to then are uniform, but there is a (minor) performance penalty
Is allocation implicit or explicit?
How is aliasing handled?
What is the semantics of assignment?
Is deallocation explicit or implicit?