caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Re: JIT VM in OCaml: Impossible?
Date: Thu, 16 Aug 2007 17:15:00 +0100	[thread overview]
Message-ID: <200708161715.01002.jon@ffconsultancy.com> (raw)
In-Reply-To: <slrnfc8o8l.n9n.sylvain@gallu.homelinux.org>

On Thursday 16 August 2007 15:37:09 Sylvain Le Gall wrote:
> On 16-08-2007, Joel Reymont <joelr1@gmail.com> wrote:
> > Folks,
> >
> > Is it possible to write a JIT VM in OCaml?
> >
> > It seems that this should not be possible as OCaml does not allow for
> > code generation at runtime. Am I mistaken?
> >
> > 	Thanks, Joel
>
> What about :
> http://cristal.inria.fr/~starynke/ocamljit.html

As others have said, Joel wants to write a JIT in OCaml rather than for OCaml. 
Although the OCamlJIT project was a nice idea, it is based upon the now-dead 
GNU Lightning library and its functionality was more recently displaced by 
the much more performant ocamlnat.

However, I think tools to enable JIT writing using OCaml would be most 
welcome. Not only the safe staged metaprogramming approach of MetaOCaml but 
also direct code generators.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists/?e


  parent reply	other threads:[~2007-08-16 16:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-16 14:10 Joel Reymont
2007-08-16 14:37 ` Sylvain Le Gall
2007-08-16 15:32   ` [Caml-list] " Oliver Bandel
2007-08-16 15:56     ` Joel Reymont
2007-08-16 16:15   ` Jon Harrop [this message]
2007-08-16 15:11 ` [Caml-list] " Oliver Bandel
2007-08-16 16:24 ` Gordon Henriksen
2007-08-16 17:37   ` skaller
2007-08-16 18:05     ` Taras Glek
2007-08-17  2:50       ` skaller
2007-08-17  3:09         ` Erick Tryzelaar
2007-08-17  5:42           ` skaller
2007-08-17  7:52             ` Joel Reymont
2007-08-17  8:36               ` Jon Harrop
2007-08-17  9:20                 ` Joel Reymont
2007-08-17  8:39         ` Jon Harrop
2007-08-16 18:49   ` Jon Harrop

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=200708161715.01002.jon@ffconsultancy.com \
    --to=jon@ffconsultancy.com \
    --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).