From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 487A2BC57 for ; Thu, 10 Jun 2010 16:27:26 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuYDANaSEEzRVdi0e2dsb2JhbACeVQgVAQEWIgMfrgWCA4VFLohPAQEDBYUTBINJ X-IronPort-AV: E=Sophos;i="4.53,398,1272837600"; d="scan'208";a="61036849" Received: from mail-qy0-f180.google.com ([209.85.216.180]) by mail1-smtp-roc.national.inria.fr with ESMTP; 10 Jun 2010 16:27:25 +0200 Received: by qyk31 with SMTP id 31so147630qyk.39 for ; Thu, 10 Jun 2010 07:27:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=TePa7bEvBct7aTWLQZTALNoopgnrFjcfuOmh5OKqE2g=; b=a87Ol17VAv+j4YevjT31UFNGxQCeSvMBHfbdaDnjynbBJXzIXojXAEs/chF6KDoGON uYqH/bNr8UOLdKGZpbHJUvq0W3SlQzAWEo1sm7LbJJ7oI/OwCWnVtvnyQdQVriYizQXi 4CzNrc51xnc6oFwSb1H1jOoDGYFbMI+Ze9rTI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MmmVsMZphwA6SC0J5js/C1ug2K9MgJB1m1z/PMzVmcbmMT9NXiUxy9nGheypDdLM3Y RvoHzTaGfkjAf2QhGGkvZqSYqOPEy5j09ndgAZbP1/U31a1rNl5dTL088WS0hvJ/8LVO 7+8MS6IOh03BLD1ajKswEqNrjceeVOgDkCV9g= MIME-Version: 1.0 Received: by 10.224.114.89 with SMTP id d25mr204323qaq.318.1276180044785; Thu, 10 Jun 2010 07:27:24 -0700 (PDT) Received: by 10.229.211.9 with HTTP; Thu, 10 Jun 2010 07:27:23 -0700 (PDT) Date: Thu, 10 Jun 2010 19:57:23 +0530 Message-ID: Subject: question about the jvm backend From: Martin DeMello To: OCaml List Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; ocaml:01 recompile:01 ocaml:01 2.0:98 algorithm:01 seems:03 library:03 pattern:04 matching:05 docs:07 generating:09 jvm:11 jvm:11 might:12 question:13 I have an OCaml implementation of an algorithm that I now want to use from clojure. As I see it, my options are: 1. Port to clojure 2. Port to scala (better support for pattern matching will make it easier to port, also scala might be faster) 3. Recompile the OCaml code against the JVM (3) seems like the easiest choice, but from what I could gather from the docs, there is not much support for generating a library that can be consumed by a main program in another language. Is this going to change in 2.0? martin