Version française
Home     About     Download     Resources     Contact us    
Browse thread
Native executable symtable
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: malc <malc@p...>
Subject: Re: [Caml-list] Native executable symtable
On Sun, 22 Nov 2004, skaller wrote:

> On Mon, 2004-11-22 at 02:59, Richard Jones wrote:
>
>> It'd be very useful for mod_caml - mod_caml uses Dynlink to load the
>> "scripts" and handlers, and hence is limited to bytecode.  Native code
>> dynamic linking would come in useful.  I'd rather it was part of core
>> OCaml, or available as a separate library which didn't require OCaml
>> itself to be recompiled.
>
> You'll never convince a third party web site supplier to install
> a hacked version of Ocaml. It took ages to get Python server
> side available.
>
> However consider also a second problem with mod_caml: unloading.
> That's also essential for a long running process, and can't be done,
> even in the bytecode interpreter. There were *also* patches
> made for that (mods to the garbage collector to allow code
> to be collected).

Excuse me, but, next time, check your facts before posting. Dyanmically
linked modules in shared patch can be unloaded, not being Damien Doligez
i wouldn't go as far as to claim that the unloading process always works
correctly w.r.t GC, but the functionality is certainly there.

Plus, this is just a speculation though, if there are problems with the
way it is done now, i do not feel they are insurmountable.

-- 
mailto:malc@pulsesoft.com