Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Ive heard that Java is slow, and is poorly suited to numerical computation. Are there faster C/Fortran implementations of the algorithms in the toolkit?

0
Posted

Ive heard that Java is slow, and is poorly suited to numerical computation. Are there faster C/Fortran implementations of the algorithms in the toolkit?

0

A This question is a bit difficult to answer. Performance comparisons between languages are fraught with difficultly, and religious wars seem to break out over the issue of which is faster, and by how much. We consider that Java is roughly as fast as C and Fortran for most numerical tasks. On some specific tasks (in particular some Linear Algebra tasks) that require non-jagged arrays or peculiar memory management, Java may perform significantly worse, but we do not believe that the algorithms implemented in the toolkit would run much faster if written in another language. We are happy to live with the possibility of a small drop in performance for the other benefits that Java has. If you are skeptical, try out the toolkit yourself and see if it is fast enough for your needs.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123