TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bill Birrell
from: Darin McBride
date: 2003-02-06 21:36:58
subject: How is memory handled?

Hello Bill!

Replying to a message of Bill Birrell to Darin McBride:

 >> Who said it was heap memory?  The string "For whom the
 >> bell tolls" is not on the heap, nor on the stack.  It
 >> is in read-only memory in the data segment of your
 >> executable, eligible to be shared amongst multiple
 >> invocations of your binary (executable or library).

 BB>     I have no real disagreement with this, but I think that
 BB> "read-only" memory is a misnomer. It is
"write-protected" memory,
 BB> really, because the loader actually wrote to it in the first place.
 BB> Nothing but the chip creation process can write to true ROM.

Fair enough.  It's been a long time since I've done any serious C or C++
coding - I'm stuck in virtual machines (perl, shell) right now.  That's my
excuse for starting to forget some of the terminology ;-)

Darin

---
* Origin: Tanktalus' Tower BBS (1:250/102)
SEEN-BY: 633/267 270
@PATH: 250/102 99 10/345 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.