Java to C cross compilation

Who knows a good java to C cross compiler?

Do they work well?

Solution

Can you explain why you want to port java code to C?

If it's for performance, you may not see much improvement Java is a garbage collection language. At present, there is no algorithm to insert memory allocation and release calls effectively There are many researchers trying to solve this problem. They have some interesting solutions, but I haven't seen a good commercial product that can be extended to large programs You can view the progress of previous ISMM meetings for more information

If you want to speed up your code, I suggest you use the parser and find popular methods Try and optimize the thermal method. If it is still not enough, try JNI

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>