Talk:Boxing (computer programming): Difference between revisions

Content deleted Content added
Exe (talk | contribs)
No edit summary
Exe (talk | contribs)
mNo edit summary
Line 9:
 
 
Isn't it all about 'object types' living [[Garbage collection (computer science)|garbage collectedcollectably]] on the [[dynamic memory allocation|heap]], and [[primitive type]]s, [[struct]]s living on the [[stack]]? (at least in c# and java). Boxing is creating a new object on heap out of a stack object so it can be manipulated with a reference - it is unsafe to get a reference to an object living on stack, because it could die too early and program could crash. [[User:Exe|exe]] 03:32, 13 May 2007 (UTC)