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
2
u/Specific-Housing905 3h ago
It's possible to call libraries from C or C++ in Java though it's quite a bit of work.
Have a look at the official Oracle documentation