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
Calling OCaml from Ruby
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-28 (09:43)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] Calling OCaml from Ruby
On 3/28/07, Joel Reymont <joelr1@gmail.com> wrote:
> Has anyone tried invoking OCaml from Ruby without packaging OCaml as
> a C library first?

Using C to make the bridge seems good.

You can also use some client/sever protocol using some serialization
data format like JSON.

It mainly depends on the use of that OCaml code.

> I'm trying to come up with ways of calling OCaml from a Rails app.

Hum, seems appealing.

-- 
Nicolas Pouillard