DenkzeitWiki

Suchen:

Aktuelle Änderungen Printable View Änderungen Bearbeiten

Gurus > Guru > GvR > GuidoVanRossum > HackerEthic > HackerMovies > Hackers > Hacker > HackersDictionary > Hacker > HackinIdeas > HackingCSharpWithEmacs > HackingClojureWithEmacsOld > Hacks > Hacking > Haskell > HeapClear Trail
Main /

Heap

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 2764 aufgerufen.