Code injecting/assembly inlining in Java?

前端 未结 6 640
隐瞒了意图╮
隐瞒了意图╮ 2021-02-03 11:00

I know Java is a secure language but when matrix calculations are needed, can I try something faster?

I am learning __asm{} in C++, Digital-Mars compiler and FASM. I wan

6条回答
  •  春和景丽
    2021-02-03 11:12

    You cannot call assembly directly from Java. But you can call C code via JNI, and from there you can call assembly.

    This article shows how.

提交回复
热议问题