The java sqlite wrapper is actually a pretty amazing piece of work.
As I understand it from reading the docs:

The original sqlite.c is compiled for the mips processor and unix
operating system.  

The mips binary is translated into java byte codes, and structured
into a java class, which are executed by the jvm.  Hence the 100% 
pure java aspect.  Of course, the JIT in the JVM translates this
into native code.

The entire plugin is packaged with a virtual unix OS, including file
i/o, memory allocation, and so on.  There are a relatively small
number of these "system calls" to support.

The strangest thing about this is the mapping of "mips" memory into
java memory, which is not ideal or super efficient. Therefore the
overall performance of the wrapper is significantly worse than the
original C.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to