English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

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...