2 ms·
It's mostly a question of what the language considers to be an object. There's often a stack-/heap-allocated dichotomy. Some languages consider stack-allocate
by recursive 3y ago
It's mostly a question of what the language considers to be an object.
There's often a stack-/heap-allocated dichotomy. Some languages consider stack-allocated structs not to be objects. They have no reference identity. Assignment has copy semantics. C# is one such language.