C++ and Java CNI: Check Java references
Wed Apr 25 06:55:00 GMT 2001
Jason Merrill writes:
> Just to be pedantic, it's impossible to eliminate the abstraction penalty
> when the ABI is different for passing a pointer v. a smart pointer. But if
> you can inline most of the uses it shouldn't be a big deal.
We can't inline many of the uses because we just don't have the
technology to inline C++ routines in Java routines.
It's a cool idea, though!
More information about the Java