caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: forum@x9c.fr
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] [ANN] OCaml-Java project: 1.0 release
Date: Tue, 27 May 2008 09:23:03 +0200	[thread overview]
Message-ID: <1211872983.483bb6d76a628@imp.ovh.net> (raw)
In-Reply-To: <200805270706.20939.jon@ffconsultancy.com>

Selon Jon Harrop <jon@ffconsultancy.com>:

> On Tuesday 27 May 2008 06:46:23 forum@x9c.fr wrote:
>
> I would love to test this but I do have some questions:
>
> 1. Do threads run in parallel, i.e. does it leverage the concurrent GC in the
> JVM?

No. This is in fact not possible as some parts of the OCaml runtime work only
under the assumption that there is only one thread in the runtime at once.
However, as soon as this assumption is lifted it will be possible to use
the concurrent GC of the JVM (the OCaml summer of code is supposed to deliver
such a patch to be integrated in the official Caml distribution if I remember
correctly).


> 2. What is the performance like?

As of today, performance is not good. My objective for the 1.x branch is to
work on compatibility with the original implementation. Performance issues
are postponed to the 2.x branch. In the meantime, OCaml-Java has proved fast
enough to program lightweight GUI applications. Moreover, the very early (and
unconclusive) tests I run seem to show that it compete with so-called script
languages.


> 3. Is anyone working on Debian packages for OCamlJava?

Well, Richard Jones provided a Fedora package for alpha/beta.
It should not be very hard to adapt to 1.0 final, or to Debian.


> 4. Are tail calls fully implemented and, if not, when exactly do they work?

Tail calls are fully implemented for direct recursion, but not for calls to
other functions (it is not possible to "jump" out of a method in Java).


Thank you for your interest,

Xavier Clerc


  parent reply	other threads:[~2008-05-27  7:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27  5:46 forum
2008-05-27  6:06 ` [Caml-list] " Jon Harrop
2008-05-27  6:37   ` Till Varoquaux
2008-05-27  7:01     ` Jon Harrop
2008-05-27  7:57       ` Till Varoquaux
2008-05-27  7:26     ` forum
2008-05-27  8:36       ` Till Varoquaux
2008-05-27 17:59         ` Florian Weimer
2008-05-27 18:57           ` forum
2008-05-27  7:23   ` forum [this message]
2008-05-27  9:12     ` Richard Jones

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=1211872983.483bb6d76a628@imp.ovh.net \
    --to=forum@x9c.fr \
    --cc=caml-list@yquem.inria.fr \
    /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).