October 14, 2002

Something new from entropy8zuper.com

[I don't have anything really new to publish today except this bit that came through the Net Art list announcing a new addition to the entropy8zuper site. Haven't checked it out yet myself.]

'Tale of Tales' is the new game-design division of the ever-morphing entropy8zuper.org. Currently, tale-of-tales.com hosts plans for a Sleeping Beauty-based project entitled '8,' scheduled for completion some time in 2003. More substantive is a bulletin board focused solely on the theory and practice of game development. Michael (zuper!) and Auriea (entropy8) regularly post on topics ranging from low-res, 3D aesthetics to non-linear, plot storyboarding. Add your own insights to the dialogue, or just lurk & learn. Art as play as narrative as environment as play as play as play. - Curt Cloninger

http://tale-of-tales.com

Posted by Brian Stefans at October 14, 2002 11:07 AM
Comments

When compared to the Stack, the Heap is a simple thing to understand. All the memory that's left over is "in the Heap" (excepting some special cases and some reserve). There is little structure, but in return for this freedom of movement you must create and destroy any boundaries you need. And it is always possible that the heap might simply not have enough space for you.

Posted by: Enoch at January 18, 2004 09:07 PM

Our next line looks familiar, except it starts with an asterisk. Again, we're using the star operator, and noting that this variable we're working with is a pointer. If we didn't, the computer would try to put the results of the right hand side of this statement (which evaluates to 6) into the pointer, overriding the value we need in the pointer, which is an address. This way, the computer knows to put the data not in the pointer, but into the place the pointer points to, which is in the Heap. So after this line, our int is living happily in the Heap, storing a value of 6, and our pointer tells us where that data is living.

Posted by: Albert at January 18, 2004 09:07 PM

For this program, it was a bit of overkill. It's a lot of overkill, actually. There's usually no need to store integers in the Heap, unless you're making a whole lot of them. But even in this simpler form, it gives us a little bit more flexibility than we had before, in that we can create and destroy variables as we need, without having to worry about the Stack. It also demonstrates a new variable type, the pointer, which you will use extensively throughout your programming. And it is a pattern that is ubiquitous in Cocoa, so it is a pattern you will need to understand, even though Cocoa makes it much more transparent than it is here.

Posted by: Roger at January 18, 2004 09:07 PM

Seth Roby graduated in May of 2003 with a double major in English and Computer Science, the Macintosh part of a three-person Macintosh, Linux, and Windows graduating triumvirate.

Posted by: Charity at January 18, 2004 09:08 PM

Being able to understand that basic idea opens up a vast amount of power that can be used and abused, and we're going to look at a few of the better ways to deal with it in this article.

Posted by: Botolph at January 18, 2004 09:08 PM