C++ accessing GCJ

Scott Serr sserr@amis.com
Fri Apr 8 23:30:00 GMT 2005


We've been diving into GCJ for about a week. We would like to do the 
majority of a project in Java but allow others to have hooks into it 
with C++ and TCL.
I have two questions.
1. When accessing a Java class from C++, why is there Jv* setup and 
tear-down? Seems like when you have that Java class in a .so... it 
would be indistguishable from an .so generated from C/C++. 
2. I'm very new to TCL, but I've found it's ability to script C/C++ 
functions/classes is pretty transparent. TCL seems to be able to get 
ahold of C/C++ data structures quite easily. We have basically proven 
that TCL can access a small C++ wrapper that accesses a Java .so. Is 
there anyone out there doing this? Is there any slickness we can use to 
see a Java/GCJ object from TCL?
Any help is appreciated.
Thanks,
Scott Serr


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /