Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Large projects in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Stokes <eric.stokes@c...>
Subject: Re: [Caml-list] Large projects in OCaml

On May 20, 2004, at 10:37 AM, Jon Harrop wrote:

> On Thursday 20 May 2004 17:31, Eric Stokes wrote:
>> ...
>> There is no issue at all distributing object code. You do not have to
>> distribute source.
>> The issue is, that the language does not support creating shared
>> libraries written in Ocaml
>> (though it can link to C shared libs), so all the object code you
>> distribute will be statically
>> linked. If you are planning to sell a library written in Ocaml, it 
>> will
>> necessarily be a static
>> library. For application code, static linking is probably preferred in
>> some cases, and
>> acceptable in most.
>
> But if any other objects which my objects depend upon get changed then 
> my
> object code will stop working.
>

No, that is the case with dynamic linking, not static linking. The only 
issue with
static linking and commercial stuff is that your patches are likely to 
be much bigger.
However the good thing about it is that your code is fairly immune to 
dynamic library
changes on the client machine.

> Cheers,
> Jon.
>
> -------------------
> To unsubscribe, mail caml-list-request@inria.fr Archives: 
> http://caml.inria.fr
> Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: 
> http://caml.inria.fr/FAQ/
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners