Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Writing a JIT compiler
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <postmaster@j...>
Subject: [Caml-list] Writing a JIT compiler

I'm trying to convert an interpreter written in OCaml into a JIT compiler. 
Generating OCaml code from host code seems to be the best way to do this as 
the generated code can then use the interpreter's data structures and 
functions.

However, I'm currently creating temporary source files, calling ocamlopt and 
using marshalling to another temporary file in order to get the data back and 
forth.

Is there a better way of doing this?

Cheers,
Jon.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners