Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: DLL's in Unix/Linux

Author: Daniel Clausen

Date: 06:30:23 01/16/02

Go up one level in this thread


Hi

On January 16, 2002 at 08:09:10, Jeroen van Dorp wrote:

>I remember Microsoft introducing the DLL because of the relative small disk
>capacity of the first PC's, creating these shared library files to conserve disk
>space.
>
>I'd guess a programmer today would drop that DLL -concept (or other
>OS-equivalent) to prevent incompatibility problems with other programs, and
>create all resources necessary with as less as possible shared components. Or am
>I mistaken?
>
>J.

As often, it's not really the concept which is bad but the use of it. The main
reason to use shared objects is that common stuff is only once in memory
(instead of statically linked with each executable) and thus saves memory. Of
course this only makes sense when the thing really is of common use.. like the
C-library for example. Everyone who uses shared objects should check whether it
is also available in the required version. If you don't, it's your fault.

Of course not using shared objects at all solves this problem, but you also
loose their advantage. (memory gain being not the only reason)

Sargon



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.