From: Greg Colvin (gcolvin_at_[hidden])
Date: 2000-10-12 09:56:10
From: David Abrahams <abrahams_at_[hidden]>
> I don't know much about Perl, but I doubt it has the right abstractions. For
> example, does Perl have classes?
You can find a description of how to call C from Perl here:
> I did spend a few minutes looking at JNI to see if the same thing could be
> done for Java, but it's not clear to me that it would work.
After more thought, here is how it might work. If you have a
C++ class you want to call from Java you would have to write
a corresponding Java class with all its methods declared to be
"native". Then you put a JNI wrapper on each C++ method. Easy
enough, but no doubt there would be other gotchas.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk