From: Alex Baretta <alex@baretta.com>
To: Nuutti Kotivuori <naked+caml@naked.iki.fi>
Cc: Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Lamda expressions and a caml interpreter
Date: Fri, 12 Mar 2004 19:23:03 +0100 [thread overview]
Message-ID: <40520007.2000704@baretta.com> (raw)
In-Reply-To: <8765dayouy.fsf@aka.i.naked.iki.fi>
Nuutti Kotivuori wrote:
> Alex Baretta wrote:
>
>>Unfortunately, this approach to dynamic programming has two
>>problems: it is incompatible with a native code compilation of the
>>main program, which otherwise could take advantage of the speed
>>benefits of ocamlopt, and a memory leak due to the impossibility of
>>unlinking bytecode modules. The latter problem is the major one.
>
>
> The former problem is solved by Asmdynlink module. It last worked at
> 3.02 I believe, but there is hope that someone could resurrect it.
The former problem is no big deal, since the Caml team made the VM so
efficient that for most practical purposes bytecode is good enough. I
can live with it until Xavier will release Dynlink for native code.
> The latter problem I have an unfinished patch to fix. You may browse
> the list archives to know more or ask me directly.
I am aware of your patch. However, before using it in production code I
would have to see it adopted by Inria in the CVS or official releases.
Otherwise, I would risk breaking compatibility of my code with future
releases of Ocaml.
I look forward to seeing dynamic unlinking of code (bytecode or native)
in OCaml. Hopefully, your patch will help in this direction.
Alex
-------------------
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
next prev parent reply other threads:[~2004-03-12 18:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 16:19 Alex Baretta
2004-03-12 16:35 ` Thomas Fischbacher
2004-03-12 17:27 ` Yamagata Yoriyuki
2004-03-12 17:08 ` Nuutti Kotivuori
2004-03-12 18:23 ` Alex Baretta [this message]
2004-03-12 18:29 ` Nuutti Kotivuori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40520007.2000704@baretta.com \
--to=alex@baretta.com \
--cc=caml-list@inria.fr \
--cc=naked+caml@naked.iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).