tag:blogger.com,1999:blog-3245128056723135607.post7718477735374234224..comments2023-07-27T01:37:35.495-07:00Comments on SorceryGames Dev: Memory ConservationVoodooChiefhttp://www.blogger.com/profile/05034494031676796112noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3245128056723135607.post-71867438581437670402010-08-04T21:19:22.590-07:002010-08-04T21:19:22.590-07:00oh yeah, i forgot about those classes with more sp...oh yeah, i forgot about those classes with more space in them than actual data.<br /><br />Da VoodoochiefVoodooChiefhttps://www.blogger.com/profile/05034494031676796112noreply@blogger.comtag:blogger.com,1999:blog-3245128056723135607.post-8432528082484690222010-08-04T11:40:02.363-07:002010-08-04T11:40:02.363-07:00I agree. Finding memory is so much fun. It's a...I agree. Finding memory is so much fun. It's amazing how much can be found with just a little work. From working on handhelds and integrated systems to consoles, I still always feel a little amazed at just how far memory can go. And like you said, it's not about reducing quality but about realizing how much slop is involved even in the simple things. Alignment is huge, it's not just bools but larger data types too. I can't tell you how many times I've found a byte variable followed by a 16 byte aligned matrix.Emptydesertnoreply@blogger.comtag:blogger.com,1999:blog-3245128056723135607.post-90765168445842162962010-08-04T10:38:54.468-07:002010-08-04T10:38:54.468-07:00when i started writing this piece i realised that ...when i started writing this piece i realised that it is a HUGE area for discussion. So i stayed to some very basic writing, even though i really wanted to go into memory allocators and how they work and how they waste memory etc. <br /><br />Talking about the cost of of allocating and especially re-allocating would be a good idea too. Maybe another post is gonna be required.<br /><br />Mostly nowadays programmers are separated from having to consider memory, unltil you run out. Any managed language is a great example of that.<br /><br />So yeah, i think it would be an invaluable lesson for game devs to understand this kind of thing if they don't already.<br /><br />Da VoodoochiefVoodooChiefhttps://www.blogger.com/profile/05034494031676796112noreply@blogger.comtag:blogger.com,1999:blog-3245128056723135607.post-11815546663375394732010-08-04T06:33:06.408-07:002010-08-04T06:33:06.408-07:00This is why game devs need to understand computer ...This is why game devs need to understand computer systems properly. Know people wanting to be developers who will never begin to understand how to look after their memory usage.Cubehousehttp://www.cubehouse.org/blog/noreply@blogger.com