DenkzeitWiki

Suchen:

Aktuelle Änderungen Printable View Änderungen Bearbeiten

SetupEmacsForClojureHackung > Silverlight > SimonPeythonJones > SimonPeytonJones > SimonPeytonJones > SlickRun > AppLauncher > SmartPointer > SnakesAndRubies > WebApplications > SoftwareArcheology > SoftwareEntwicklung > SoftwareDevelopment > SpielzeugAusBambus > Spyce > Stack > HeapClear Trail
Main /

Heap

(weitergeleitet von Main.Stack)

GarbageCollection
CSharp
HeapAndStack

In theory, I suppose, the programmer shouldn't be forced to consider mundane details of hardware such as heap and stack storage. And yet, what I think I've concluded from my experience with C# is that the difference between the heap and stack is so fundamental that the programmer really must consider the differences to write efficient code.[1]




The Stack is a Hardware Supported Feature in terms of Microprocessor Registers and Segments.

The Heap is actually a Software Abstraction.[2]



Variables on the Stack can be accessed faster. The Stack is not managed, overhead is not neaded. Variables on the Stack are removed when they run out of scope.

Edit - BackLinks - Tags - Page Hist - Print - Changes - Home - Orphans - Help

Zuletzt geändert am 20.08.2005 13:52 Uhr und seit 7. April 2005 2766 aufgerufen.