I make
test million quartic equations in C++,C# nad
Java:
https://github.com/borneq/quartic
On Intel I3, one
thread, release C++ and C#, beyond
IDE,
C++ 5.99 s
C++ 64 bits 4.91 s.
C# - 5.12
Java 2.64 s!
Why Java time is so good? C++ operates on stack without new/delete, floating-point operations depends on hardware (coprocessor), the same Complex lib.
Java is the base for numeric? Unfortunately Java has not operators overloading, that is nice for complex, vectors and matrices.