Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] doing MMX through ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-18 (10:05)
From: Alessandro Baretta <a.baretta@b...>
Subject: Re: [Caml-list] doing MMX through ocaml
Jonathan Roewen wrote:
> Another option, that I'm curious what people might think of, that
> might alleviate some performance woes of multiple calls to much
> simpler MMX instruction wrappers:
> A runtime code generator, that's typed by ocaml. Basically, create a
> code block from multiple instructions, which is turned into machine
> code, then executed through a C function.

Wouldn't this be the perfect scenario to leverage the power of multistage 
programming. I wonder if MetaOcaml is the right solution. And I wonder I how 
much work would go into adapting the DST to MetaOcaml...