I stopped in at the Blogging Ecosystem a few minutes ago, to discover that I’ve attained the status of a “Marauding Marsupial” — an altogether rapid evolution from my long-term residency as something more on the order of a paramecium or hydra. this lends credence either to punctuated equilibrium, or to divine intervention, and I won’t lobby for which of the two.
But the point of mentioning all this is that this, the number 612 weblog (our motto: “We tried harder for a while, but nobody noticed, so we’re just slacking off like everyone else south of Instapundit, Josh Marshall, boing boing, and Volokh”), landed right next door to number 611, Jeneane Sessum. So I’m thinking maybe we should form a partnership, buy out 610 and 613, put up a nice garden, a hedge (I’m a sucker for juniper), and start a hangout for like-minded bloggers. What do you say?
Posted by AKMA at December 13, 2003 09:50 PM | TrackBackWe're THERE! Just let me shake off these pesky creditors and we'll be right over!
Posted by: Jeneane at December 14, 2003 08:33 AMWhen a variable is finished with it's work, it does not go into retirement, and it is never mentioned again. Variables simply cease to exist, and the thirty-two bits of data that they held is released, so that some other variable may later use them.
Posted by: Barnard at January 12, 2004 10:13 PMSince the Heap has no definite rules as to where it will create space for you, there must be some way of figuring out where your new space is. And the answer is, simply enough, addressing. When you create new space in the heap to hold your data, you get back an address that tells you where your new space is, so your bits can move in. This address is called a Pointer, and it's really just a hexadecimal number that points to a location in the heap. Since it's really just a number, it can be stored quite nicely into a variable.
Posted by: Griffith at January 12, 2004 10:13 PMThe Stack is just what it sounds like: a tower of things that starts at the bottom and builds upward as it goes. In our case, the things in the stack are called "Stack Frames" or just "frames". We start with one stack frame at the very bottom, and we build up from there.
Posted by: Adlard at January 12, 2004 10:13 PMInside each stack frame is a slew of useful information. It tells the computer what code is currently executing, where to go next, where to go in the case a return statement is found, and a whole lot of other things that are incredible useful to the computer, but not very useful to you most of the time. One of the things that is useful to you is the part of the frame that keeps track of all the variables you're using. So the first place for a variable to live is on the Stack. This is a very nice place to live, in that all the creation and destruction of space is handled for you as Stack Frames are created and destroyed. You seldom have to worry about making space for the variables on the stack. The only problem is that the variables here only live as long as the stack frame does, which is to say the length of the function those variables are declared in. This is often a fine situation, but when you need to store information for longer than a single function, you are instantly out of luck.
Posted by: Quivier at January 13, 2004 10:22 AMEach Stack Frame represents a function. The bottom frame is always the main function, and the frames above it are the other functions that main calls. At any given time, the stack can show you the path your code has taken to get to where it is. The top frame represents the function the code is currently executing, and the frame below it is the function that called the current function, and the frame below that represents the function that called the function that called the current function, and so on all the way down to main, which is the starting point of any C program.
Posted by: Grace at January 13, 2004 10:22 AMEach Stack Frame represents a function. The bottom frame is always the main function, and the frames above it are the other functions that main calls. At any given time, the stack can show you the path your code has taken to get to where it is. The top frame represents the function the code is currently executing, and the frame below it is the function that called the current function, and the frame below that represents the function that called the function that called the current function, and so on all the way down to main, which is the starting point of any C program.
Posted by: Brian at January 13, 2004 10:23 AM