From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q29Hjm6b016473 for ; Fri, 9 Mar 2012 18:45:48 +0100 X-IronPort-AV: E=Sophos;i="4.73,559,1325458800"; d="scan'208";a="148499537" Received: from htr06-1-82-227-229-32.fbx.proxad.net (HELO localhost.localdomain) ([82.227.229.32]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 09 Mar 2012 18:45:43 +0100 Message-ID: <4F5A41C6.10505@inria.fr> Date: Fri, 09 Mar 2012 18:45:42 +0100 From: Johan Grande User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: Philippe Veber CC: caml users References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] A js_of_ocaml equivalent for the JVM? Le 09/03/2012 18:12, Philippe Veber a écrit : > Dear camlers, > I used js_of_ocaml several times and was really stunned of how clever > (notably because writing interfaces boils down to writing types) and > efficient this approach is. Would a similar thing work for the JVM, that > is a compiler from ocaml bytecode to java bytecode? I guess it wouldn't > provide a full interoperability with java, in the sense that creating or > extending classes may not be possible (well, why not after all?). > However, being able to run an ocaml program on the JVM reusing existing > java libraries would be so useful already! > > Are there known obstacles to this? Has anyone tried something in this > direction? Would there be a chance to support multicore programming that > way? I hope these are not silly questions (sorry if they are!) http://ocamljava.x9c.fr (I never tried it myself.) -- Johan