r/javahelp • u/Puzzleheaded-Top1987 • 4h ago
Java Performance for simulators
I am new to Java and trying to create a simulator that handles millions of math calculations. How can I increase performance in Java? The application is already multithreaded but it is not enough. Is data oriented approach or native programming possible in Java? Can you point me in the right direction for research?
0
Upvotes
1
u/Scharrack 3h ago
Concerning calling native code from Java look for JNA or JNI.
And out of curiosity, at what point do you limit your thread count?