caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Efficient C++ interfacing?
@ 2004-05-30  7:41 Brandon J. Van Every
  2004-05-30 11:47 ` ronniec95
  0 siblings, 1 reply; 22+ messages in thread
From: Brandon J. Van Every @ 2004-05-30  7:41 UTC (permalink / raw)
  To: caml

[-- Attachment #1: Type: text/plain, Size: 1664 bytes --]

On the subject of C++, the archive is daunting and not terribly
informative.  If this has been asked before and good answers have been
given, I'm happy for pointers.  Otherwise, I figure it doesn't hurt to
ask the same questions at some repeating time interval.

If one wants to interface native OCaml code to native C++ code for
performance reasons, what is a good way to go about it?  Are there any
automated binders for this native-native linkage?  I've been looking at
SWIG but am unsure if it's native-native.  The OCaml SWIG author
suggested that the performance is more on par with calling a scripting
language, but maybe I misunderstood.  I'd be interested in optimizing
that, but only if it's a reasonable architectural approach.  I really
don't have a handle on what C++ <--> OCaml efforts are out there.
Anything other than SWIG?

My challenge problem is providing OCaml bindings for The Nebula Device
2.  http://nebuladevice.cubik.org.  I do not wish to use their script
server interface.  It looks like a relatively low performance binding -
adequate for scripts that aren't supposed to be fast, but really not
intended for native-native communication.  Also, script servers can only
interface nRoot objects, leaving a whole class of nNode objects that
must be accessed from C++.


Cheers,                     www.indiegamedesign.com
Brandon Van Every           Seattle, WA

"The pioneer is the one with the arrows in his back."
                          - anonymous entrepreneur


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.691 / Virus Database: 452 - Release Date: 5/26/2004
 

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2592 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2004-06-07 16:30 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-30  7:41 [Caml-list] Efficient C++ interfacing? Brandon J. Van Every
2004-05-30 11:47 ` ronniec95
2004-05-30 20:17   ` Brandon J. Van Every
2004-06-05 16:45   ` Eray Ozkural
2004-06-05 19:07     ` skaller
2004-06-06  0:31       ` Eray Ozkural
2004-06-06  3:33         ` John Goerzen
2004-06-06  7:00           ` skaller
2004-06-06 16:02             ` David Fox
2004-06-06 18:44             ` Eray Ozkural
2004-06-06 20:41               ` skaller
2004-06-07  3:04                 ` Eray Ozkural
2004-06-07  7:41                   ` Benjamin Geer
2004-06-07 13:38                     ` Eray Ozkural
2004-06-07 14:18                     ` Basile Starynkevitch local
2004-06-07 14:29                       ` Eray Ozkural
2004-06-07 16:29                         ` Eray Ozkural
2004-06-07 15:46                   ` skaller
2004-06-06 16:00       ` David Fox
2004-06-05 21:39     ` Brandon J. Van Every
2004-06-06 16:18       ` David Fox
2004-06-06 18:47         ` Eray Ozkural

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).