RE: Re: Java for financial models

Posted by cuchulainn on
URL: http://quantlib.414.s1.nabble.com/Re-Java-for-financial-models-tp3273p3275.html

[Quantlib-users] Re: Java for financial models
Java is a general purpose OO language but it does not support procedural paradigm which IMO is a problem for numerical maths and FDM (C++ supports OO, procedural and template programming). Java is of course slower than C++. It does not support operator overloading and this is terrible for mapping my formulas to code.
 
These days you can write code (under .NET) in managed C++ (FDM) and the GUI in C# (C# is really Java in IMO), so life is beautiful. Of course, this solution does not port to Linux.
 
Personally, I prefer C++ to Java. That is not to say that Java does not have its charms. But for number crunching I doubt it.
 
Daniel J. Duffy
 
 
P.S. In the old days we had DOMAIN-SPECIFIC languages such as Fortran (great for algorithms). These days we have to bend general-purposes languages such as Java and C++ to emulate the same features Fortran.

From: [hidden email] on behalf of [hidden email]
Sent: Wed 25/08/2004 22:08
To: [hidden email]
Subject: [Quantlib-users] Re: Java for financial models

Greetings,

I am a programmer, working in C++ derivative models development.  Before that
I worked as Java Architect and programmer, developed complex projects since
Java started.
I have a question about Java for financial calculations.  My opinion -- it is
rather slow for numerical and simulation algorithms like finite diffs or
Monte Carlo. But recently I had a chat with Morgan Stanley people, who told me
that Java is fast enough.  I wonder what QuantLib folks think about Java
performance?  Anybody tried Java for derivatives pricing in production?

Best regards,
George


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Quantlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users