Re: Re: Java for financial models

Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/Re-Java-for-financial-models-tp3273p3277.html

Hi,

On 2004.08.25 22:42, Daniel J. Duffy wrote:
> Java is of course slower than C++.

True, but though slower it might be fast enough for one's needs.
However, I have no personal experience using Java for pricing.

> It does not support operator overloading and
> this is terrible for mapping my formulas to code.

So true. I can't imagine having to write

(v1.plus(v2)).times(w1.minus(w2));

instead of

(v1+v2)*(w1-w2);

And formulas are rarely that simple. That's mostly what kept me away  
from Java...

Bye,
        Luigi