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] Efficient C++ interfacing?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-06-05 (16:45)
From: Eray Ozkural <exa@k...>
Subject: Re: [Caml-list] Efficient C++ interfacing?
On Sunday 30 May 2004 14:47, you wrote:
> Hi,
> I've done a fair amount of C interfacing with Ocaml. Although the
> auto-conversion tools are ok, it's usually simpler (and definitely faster
> in terms of performance) to roll your own I've found. And it's actually not
> that complicated for most things.
> Also with handrolling your own interface you'll get something that is more
> ocaml like and makes more sense (from a usability perspective) than auto
> generated ones most of the time. This is from my experience only, and YMMV.

What if we would like to generate bindings for a huge moving target like Qt or 
KDE libraries? It would take an inordinate amount of time to update such 
bindings manually. Do you suggest that SWIG sucks as far as ocaml goes?

Best Regards,

Eray Ozkural (exa) <erayo@cs.bilkent.edu.tr>
Comp. Sci. Dept., Bilkent University, Ankara  KDE Project: http://www.kde.org
http://www.cs.bilkent.edu.tr/~erayo  Malfunction: http://malfunct.iuma.com
GPG public key fingerprint: 360C 852F 88B0 A745 F31B  EA0F 7C07 AE16 874D 539C

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