This comparison is also confounded by the fact that most C++ libraries try to make use of native binary libraries such as ATLAS and often get a dramatic speedup as a result.
On Fri, Jan 29, 2010 at 4:55 PM, Peter Abeles <[email protected]>wrote: > I have seen some adhoc comparisons on-line. Mostly just matrix multiply. > Having said that I wouldn't be surprised if I missed something. Based > on personal experience I would expect about a 2-3 times speed hit > between well written java and c/c++ code because of array overhead and > language constraints. For pure arithmetic I have gotten nearly > identical performance. > -- Ted Dunning, CTO DeepDyve
