Hi Thomas,
Quite so. Not only is memory availability skyrocketing, but programming is
becoming more and more abstract so that one soon won't have to worry about
these things very much at all. Still, though I have not taken any
programming classes myself but have learnt purely from experience I enjoy
picking up some of the theory as well as the practical aspects as I find
that having knowledge on both fronts has been useful to me more than once.
And while we're on the subject of memory management, do you yourself make
use of garbage collection? I am considering adding it to my engine but have
not yet made up my mind, as everything is allocated and freed manually at
this point and it has worked rather well so far.
Kind regards,
Philip Bennefall
----- Original Message -----
From: "Thomas Ward" <thomasward1...@gmail.com>
To: "Gamers Discussion list" <gamers@audyssey.org>
Sent: Wednesday, December 16, 2009 5:08 AM
Subject: Re: [Audyssey] To Philip on C++
Hi Philip,
Thanks for that. It has been years since I took a class on C++ so I
don't actually remember all the specifics of how much memory each data
type uses, how much memory a pointer uses, etc. I just remember when and
where I should use them. Which is really all that is required. These
days knowing how many byts you are using really isn't that necessary
when we have lots of memory to play with. Still that doesn't mean we
should use a long integer when we could get by with a short integer, or
use a double variable when all we need is a floating point variable.
<Grin>
Philip Bennefall wrote:
Hi Thomas,
Pointers do use a little bit of memory, the word size of the
particular platform to be more precise. So a pointer on a 32 bit
platform takes up 32 bits of memory (e.g. 4 bytes), in order to store
the memory address of the location which is being pointed to.
Kind regards,
Philip Bennefall
---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to
gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the
list,
please send E-mail to gamers-ow...@audyssey.org.
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.427 / Virus Database: 270.14.109/2567 - Release Date: 12/15/09
19:58:00
---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.