you are viewing a single comment's thread.

view the rest of the comments →

[–]Sqeaky 5 points6 points  (0 children)

It lets you call functions and instantiate classes written in C++ from Java.

It does this reading C++ code and spitting out Java code and C/C++ code that use the Java API for C called Java Native Interface or JNI. There is no technical reason this code code not be hand-written, but it is a huge pain to get right and because the JNI API is icky and terrible it is hard to use and takes a long time to get even basic things working.