JAVA Sub project?

Posted by David Wan on
URL: http://quantlib.414.s1.nabble.com/JAVA-Sub-project-tp3355.html

Quantlib is terrific!

But these days any library without a Java Version would be incomplete.
I heard that Berkley DB has a Java version now.

1. Operator overload may not be a big issue, firstly,  the client
programs that use the library may not need to deal with those formular
(those formular is embeded inside the library implementation),
secondly, in situations that client need to pass a formular, it can
have simple and clean interfaces, for example, can implement a class
"Formular" that flexible enough to handle any arithmatic operators (it
is trival to implement in Java).
=cal((new Formular ("a + a*b + c*d"), Object args)));
plus polymorphism, the code can be more clean than C++ code.

2. Performance is difficult to tell. it really depends on OS and C++
compiler. the optimized c++ compiler most likely will generate faster
result. Late binding overhead is not that big plus in situations you
can have "final" plus composition to archieve reuse and early binding.
 but it cannot beat inline of course.

3. Java has so many advantages over C++ ...

I saw there is posting to propose a Java sub-project. Cannot wait
seeing it happens and would like to contribute too. I like both C++
and Java, but Java deserves a space in quant world too :-)

David