From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=AWL,NO_REAL_NAME autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 448AFBBAF for ; Tue, 27 May 2008 09:23:43 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsAAHhTO0jVuiVnjWdsb2JhbACRPX0BAQEBCQUGBxOaJA X-IronPort-AV: E=Sophos;i="4.27,547,1204498800"; d="scan'208";a="11158046" Received: from 25.mail-out.ovh.net ([213.186.37.103]) by mail2-smtp-roc.national.inria.fr with SMTP; 27 May 2008 09:23:43 +0200 Received: (qmail 20274 invoked by uid 503); 27 May 2008 07:24:01 -0000 Received: from unknown (HELO mail15.ha.ovh.net) (213.186.33.59) by 25.mail-out.ovh.net with SMTP; 27 May 2008 07:24:01 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 27 May 2008 07:23:03 -0000 Received: from adret2.inrialpes.fr (adret2.inrialpes.fr [194.199.23.100]) by imp.ovh.net (IMP) with HTTP for ; Tue, 27 May 2008 09:23:03 +0200 Message-ID: <1211872983.483bb6d76a628@imp.ovh.net> Date: Tue, 27 May 2008 09:23:03 +0200 From: forum@x9c.fr To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] [ANN] OCaml-Java project: 1.0 release References: <764D4B4A-FA1E-4672-BA9D-4195193E1C48@x9c.fr> <200805270706.20939.jon@ffconsultancy.com> In-Reply-To: <200805270706.20939.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Originating-IP: 194.199.23.100 X-Ovh-Tracer-Id: 13191324785301062622 X-Spam: no; 0.00; ocaml:01 runtime:01 runtime:01 ocaml:01 recursion:01 1.0:98 1.0:98 threads:01 wrote:01 caml-list:01 functions:01 tail:01 tail:01 caml:02 objective:02 Selon Jon Harrop : > 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