以往加快的方式就是使用 gcj 或 JET compiler 成 native code,
現在有了新方法,
就是把 java source code 轉成 c++ source code
然後再用 C++ compiler(gcc, vc, bc) compile 成 native code
http://www.simplesql.org/java2cpp.html
他們完成了一個用 c++ 寫成的 java library (DFC)
然後把 java 的程式轉成以 DFC 為基礎的 c++ source,
然後再使用 vc 或 gcc compile 成 native,
執行效率明顯的比其他的 native compiler compile 出來的程式快多了~
基本上, 他是使用 smart point 取代 gc 功能的~