🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1972

Re: Minor wishlist item: any IBMers out there?

#1972
From: Helge Hafting
Date: Fri, 09 Oct 1992 12:55
20 lines
1713 bytes
In article <-192829998@hpopd.pwd.hp.com>, yuk@hpopd.pwd.hp.com (Yuk Lun Chan) writes:
 > Simple. If I put all my code in a DLL and just have a small main program.
 > Every time I run one more copy. All the system do is to load the small
 > main program and data area. If your program is a large one (> 1Mbyte in code
 > size), it save you a lot of memory and time. Also, if the program has many
 > parts and not all parts used at any time. It is much better to divided the
 > program into many DLL. I don't want each of my DLLs has a C library in it.
 > I want one C library in memory only.
 > 
I thought that os/2 does share code even if it is not in a DLL.  
I.e. If I run 4 instances of the same program, only the data is duplicated
while the code is loaded once.  This would make DLL's necessary only
when two different programs uses the same code.
The included posting indicates that only DLL's is shared.  What is correct?
-- 
 |  |      ^         |  |      /   ^   o
 |__| _   /|  _  _   |__| _   /|  /|   |    _   _
 |  |/_| / | / \/_|  |  |/ | /-+-/-+- /| /|/ | / \
 |  |\__/  |/\_/\_   |  |\_|/  |   \_/ |/ |  |/\_/
            __/                /              __/
Technical Details
Message-ID: <1992Oct9.125515.4528@ugle.unit.no>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!ugle.unit.no!lise.unit.no!hafting
References: <717978212snx@sugs.tware.com> <-192829998@hpopd.pwd.hp.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!ugle.unit.no!lise.unit.no!hafting
From: hafting@Lise.Unit.NO (Helge Hafting)
Subject: Re: Minor wishlist item: any IBMers out there?
Message-ID: <1992Oct9.125515.4528@ugle.unit.no>
Sender: news@ugle.unit.no (NetNews Administrator)
Organization: Norwegian Institute of Technology
References: <717978212snx@sugs.tware.com> <-192829998@hpopd.pwd.hp.com>
Date: Fri, 9 Oct 92 12:55:15 GMT
Lines: 20