AKMA's Random Thoughts

January 31, 2003

The End Is Near

The GameNeverending alpha-test ends tonight. If you’re a player, you may want to try to get onto the server, sign the yearbook, quaff some absinthe, and look forward to The Big Game. . . .

Posted by AKMA at January 31, 2003 02:29 PM | TrackBack
Comments

To address this issue, we turn to the second place to put variables, which is called the Heap. If you think of the Stack as a high-rise apartment building somewhere, variables as tenets and each level building atop the one before it, then the Heap is the suburban sprawl, every citizen finding a space for herself, each lot a different size and locations that can't be readily predictable. For all the simplicity offered by the Stack, the Heap seems positively chaotic, but the reality is that each just obeys its own rules.

Posted by: Chroseus at January 12, 2004 11:24 PM

But variables get one benefit people do not

Posted by: Martin at January 12, 2004 11:24 PM

When Batman went home at the end of a night spent fighting crime, he put on a suit and tie and became Bruce Wayne. When Clark Kent saw a news story getting too hot, a phone booth hid his change into Superman. When you're programming, all the variables you juggle around are doing similar tricks as they present one face to you and a totally different one to the machine.

Posted by: Jennette at January 12, 2004 11:25 PM

The rest of our conversion follows a similar vein. Instead of going through line by line, let's just compare end results: when the transition is complete, the code that used to read:

Posted by: Walter at January 13, 2004 09:53 AM

This back and forth is an important concept to understand in C programming, especially on the Mac's RISC architecture. Almost every variable you work with can be represented in 32 bits of memory: thirty-two 1s and 0s define the data that a simple variable can hold. There are exceptions, like on the new 64-bit G5s and in the 128-bit world of AltiVec

Posted by: Nathaniel at January 13, 2004 09:53 AM

This will allow us to use a few functions we didn't have access to before. These lines are still a mystery for now, but we'll explain them soon. Now we'll start working within the main function, where favoriteNumber is declared and used. The first thing we need to do is change how we declare the variable. Instead of

Posted by: Quivier at January 13, 2004 09:53 AM