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
OCamlJit 2.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-11-20 (17:37)
From: Yoann Padioleau <padator@w...>
Subject: Re: [Caml-list] [Was: OCamlJit 2.0]

On Nov 20, 2010, at 9:08 AM, Jon Harrop wrote:

>> Do we have example of big companies porting their whole codebase to
>> another language ?
> Yes, of course. Companies modernise all the time. We have a client who just
> started porting 1MLOC of C++ to F#.

How they do that ? Are they using compiler frontends to assist them
in automatically translating part of the code to F# ?

> Flying Frog have ported hundreds of
> thousands of lines of OCaml to F#.

OCaml and F# are very similar language, so such porting does not look that hard.
Translating from C++ to F#,  or from PHP to Java seems more complicated.
I wonder what kind of techniques people have developed to help such language-to-language

> It happens all the time but it is even
> more likely to happen as a consequence of multicore.
> Cheers,
> Jon.