"Etienne M. Gagnon" wrote:
> Can you explain to me in what CNI is better than JNI, at the binary
> level?  In what can CNI be faster than JNI while remaining VM
> independent?

CNI is not VM independent.  It was designed for gcj.  It's fast because there is
really no overhead: C++ classes can directly access Java methods and fields, for
instance.

http://gcc.gnu.org/java/papers/cni/t1.html

--
Jeff Sturm
[EMAIL PROTECTED]

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to