Re: quantlib spreadsheet integration
Posted by erik-44 on
URL: http://quantlib.414.s1.nabble.com/quantlib-spreadsheet-integration-tp2880p2886.html
On Thu, 2004-04-08 at 00:18, Dirk Eddelbuettel wrote:
> > - with an OpenOffice C++ Addin you write
> > classes which are derived directly from the classes used to build OO
> > itself, and your code goes into a lib which OO loads dynamically at
> > runtime. I've done no benchmarking but intuition tells me this design
> > is faster and cleaner than Quantlib<->Python<->Gnumeric.
>
> Sure, but you get the same with directly loadable C plugins for Gnumeric, so
> this would be a draw.
I didn't know about C plugins for Gnumeric, this sounds distinctly more
promising than Quantlib<->Python<->Gnumeric. Is this interface
documented anywhere?
> From a practical standpoint, it may be easier to mix
> C and C++ (i.e. call the QL C++ code via '#extern "C"' mechanism, which I
> what I do to get QL into the R environment) than mixing two distinct C++
> beasts. I may well be wrong here.
Very tough to say how a Gnumeric C plugin would compare to an OpenOffice
C++ Addin. It would depend heavily on the design of each, on your
criteria... the first approach might be better at some things and the
second at others... there are a lot of variables.