TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: andrew clarke
from: Jasen Betts
date: 2003-02-08 21:53:32
subject: How is memory handled?

Hi andrew.

06-Feb-03 08:52:10, andrew clarke wrote to Neil Heller


 ac> Wed 2003-02-05 10:55, Neil Heller (1:106/2000) wrote to Darin
 ac> McBride:

 NH>> char * foo[] = "For whom the bell tolls";

 ac> ...

 ac> This really depends on the OS and the compiler used.  In Windows
 ac> and OS/2 (probably other OSes too, eg. MacOS & BeOS) it's possible
 ac> to have resources that you can bind to an executable.  You can
 ac> have string tables (and icons, bitmaps, etc.) which can be shared
 ac> by multiple instances if they are marked "sharable". I don't think
 ac> this applies to strings within the source code though (but I
 ac> suppose in theory it could, but might slow things down a lot)

I see no reason for it to slow things dowm access to the string constant
should be as easy as access to the executable code that uses it.

 -=> Bye <=-

---
* Origin: Open the pod bay doors, HAL. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/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™.