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] Delaying module initialization
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-03-27 (12:38)
From: Benjamin Geer <ben@s...>
Subject: Re: [Caml-list] Delaying module initialization
Xavier Leroy wrote:
> (As far as "hassling" goes, this will only reinforce my conviction
> that shared libraries are useless.  So, don't do that.)

I don't mean to hassle you, but could you explain this conviction a bit? 
  If shared libraries are useless, why do all Unix and Linux programs 
use libc as a shared library?  Why don't they statically link to it? 
I've always assumed that this is because nobody wants 'ls' and 'cp' to 
be over a megabyte in size.

The lead developer of GNOME and Evolution (which are written in C) 
started the Mono project (a free implementation of .NET) because, as he 
put it:

   There is a point in your life when you realize that
   you have written enough destructors, and have spent
   enough time tracking down a memory leak, and you have
   spend enough time tracking down memory corruption, and
   you have spent enough time using low-level insecure
   functions, and you have implemented way too many linked

Now there is debate about whether to write the next version of GNOME in 
C#.  If Caml could make shared libraries, perhaps those sorts of 
libraries (very large libraries, meant to be used by many small 
programs) would have a better chance of being written in Caml.



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