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

Hi Darin,

 > 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).

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

Best Wishes,
Bill.

---
* Origin: Escan BBS (2:25/200)
SEEN-BY: 633/267 270
@PATH: 25/200 108 252/110 250/501 140/1 106/2000 1 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™.