Re: Java for financial models
Posted by
Gianni Piolanti on
URL: http://quantlib.414.s1.nabble.com/Re-Java-for-financial-models-tp3273p3274.html
Hi Luigi,
I agree with you when you say that c++ operator overloading it allows to write
complex expressions by using a mathematical notation. But operator overloading
can create a lot of temporary objects. Expression template technique efficiently
avoid temporary objects and there are libraries (PETE,POOMA,Blitz++, boost-ublas)
implemented by using such technique. On the other hand there are libraries such as
MTL or GMM++ which avoid operator overloading in order to reach better run-time efficiency.
Albeit C++ it's a better choice my opinion about java 5.0 (which adopt template) is that it can reach a good trade-off between "easy of use" a more advanced number-crunching and difficulties which can arise evaluating complex expressions.
ciao - Gianni
Personalizza MSN Messenger con sfondi e foto.
E' divertente!