Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jon Harrop <jonathandeanharrop@googlemail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] - Convert Caml to C/C++, C#, PHP, etc -
Date: Fri, 10 Oct 2008 05:26:49 +0100	[thread overview]
Message-ID: <200810100526.49635.jon@ffconsultancy.com> (raw)
In-Reply-To: <20081010085741.c099a21b.mle+ocaml@mega-nerd.com>

On Thursday 09 October 2008 22:57:41 Erik de Castro Lopo wrote:
> > Side note: is there an Ocaml bytecode-compiler written in Ocaml
> > somewhere?
>
> I'm pretty sure the vast majority of the standard Ocaml bytecode
> compiler is written in Ocaml. The same is probably not true for
> the bytecode VM.

You mean the program that generates OCaml's bytecodes is written in OCaml. I 
assume Kuba meant that the program that executes OCaml's bytecodes is not 
written in OCaml.

I would love to see an interpreter of OCaml's bytecode that was itself written 
in OCaml. There are also some obvious derivative projects, like a JIT 
compilers written in MetaOCaml or written using LLVM (similar to Basile's 
ocamljit). Once LLVM did some optimizations, it could be interesting to 
compare the performance of native-code OCaml with LLVM JITted OCaml bytecode. 
Perhaps some things (like Int32/64) could be greatly improved in performance?

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e


  reply	other threads:[~2008-10-10  3:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03  4:03 axllaruse
2008-10-03  4:18 ` Erik de Castro Lopo
2008-10-03  5:33   ` axllaruse
2008-10-03  5:39     ` Erik de Castro Lopo
2008-10-03  8:06       ` Sylvain Le Gall
2008-10-03  9:56       ` [Caml-list] " Roberto Bagnara
2008-10-09 21:47       ` Kuba Ober
2008-10-09 21:57         ` Erik de Castro Lopo
2008-10-10  4:26           ` Jon Harrop [this message]
2008-10-10  3:30             ` Erik de Castro Lopo
2008-10-10  4:55               ` Jon Harrop
2008-10-10 14:25                 ` Mauricio Fernandez
2008-10-10 12:37           ` Kuba Ober
2008-10-10 13:38             ` Basile STARYNKEVITCH
2008-10-03 16:57     ` David Teller
2008-11-17 14:30     ` Nicolas Cannasse
2008-10-03  9:50 ` Erkki Seppala

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=200810100526.49635.jon@ffconsultancy.com \
    --to=jonathandeanharrop@googlemail.com \
    --cc=caml-list@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