Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Ocaml shared libraries
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-17 (11:15)
From: Michal Moskal <malekith@p...>
Subject: Re: [Caml-list] Ocaml shared libraries
On Mon, May 17, 2004 at 10:22:54AM +0200, Xavier Leroy wrote:
> As for feature 1- (smaller executables), I'm not convinced this is a
> major issue.  I'm old enough to remember the introduction of shared
> libraries in the Unix world (in SunOS 4).  At that time, the saving in
> disk space was significant: disks were small (a complete SunOS 4
> install could fit in as little as 100 Mb) and the size of executables
> wasn't negligible compared to the size of data files.  Times have
> changed, however: disk space has increased much faster than executable
> sizes, and the disks on a modern machine are mostly filled with data
> (think MP3 and movies :-), making executable sizes a non-issue.

Disk is one thing. Memory is another. Under unix each shared library
resides in memory once.  Of course each executable is also loaded once,
so this is only an issue when there are multiple ocaml programs (different
executables) run simultaneously. Nevertheless this is sometimes the

: Michal Moskal :: :: GCS !tv h e>+++ b++
: When in doubt, use brute force. -- Ken Thompson :: UL++++$ C++ E--- a?

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: