caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Raoul Duke <raould@gmail.com>
Cc: OCaml <caml-list@inria.fr>
Subject: Re: [Caml-list] [ANN] OCaml-Java is going alpha, to github
Date: Tue, 15 Jul 2014 11:38:01 +0200	[thread overview]
Message-ID: <1405417081.4384.182.camel@e130> (raw)
In-Reply-To: <CAJ7XQb4v2hAs3WnKsvEn+b+st9vp1EVpL3tyEuesLQsGCE8axw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]

Am Montag, den 14.07.2014, 15:21 -0700 schrieb Raoul Duke:
> > This post announces a new version (namely alpha1) of OCaml-Java.
> > The main goal of the project is to provide a compiler targeting the
> > JVM. The related objectives are to gain access to a greater number
> > of libraries, and to be able to take advantage of multiple cores.
> 
> on the one hand this sounds cool! :-)
> 
> on the other hand... i seems like it is just a deal with the devil to
> get those multiple cores. :-(

Some months ago I was playing with a different devil: A compiler from
OCaml bytecode to Go. This is fairly simple to do (mainly because Go has
everything you need (like goto), and the transformation is not too
complicated). The speed was between bytecode and native code, but I
didn't do extensive tests (in particular, I have no idea whether the Go
memory management is fast enough for OCaml as there is no generational
GC).

Go is in particular interesting because it provides a model of
lightweight threading that can be backed by multiple cores.

Gerd

> 
> ;-)
> 

-- 
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    gerd@gerd-stolpmann.de
My OCaml site:          http://www.camlcity.org
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
------------------------------------------------------------


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2014-07-15  9:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 22:15 xclerc
2014-07-14 22:21 ` Raoul Duke
2014-07-15  9:38   ` Gerd Stolpmann [this message]
2014-07-15 12:11     ` Peter Zotov
2014-07-15 22:52       ` Gerd Stolpmann
2014-07-16  7:44 ` Jacques du Preez

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=1405417081.4384.182.camel@e130 \
    --to=info@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=raould@gmail.com \
    /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).