|
From: Luigi B. <lui...@gm...> - 2014-04-14 16:08:24
|
Hi Steve,
as Peter said, SWIG can give you a head start if you manage to make the
existing interfaces work with its Go module (they're in the QuantLib-SWIG
release, inside the SWIG folder). Also, any class exported to one of the
other languages would also be available in Go.
The disadvantage is that using the bindings might cause you to write
non-idiomatic Go, and you won't get a chance to reimplement the
architecture in terms of the facilities provided by Go. So you'd be calling
the library from Go, but the underlying mechanics (observables etc) would
still be in C++. And most of the library is not thread-safe, which is
probably a big no-no in Go.
I'll leave it to you to weigh pros and cons against each other.
Later,
Luigi
On Mon, Apr 14, 2014 at 1:45 PM, Piter Dias <pit...@pi...>wrote:
> Steve,
>
> Hi. How are you?
>
> I know nothing about Go but if you want to interface, instead of porting,
> SWIG may be your best friend - http://www.swig.org/Doc3.0/Go.html#Go.
>
> Porting seems to be harder, not only because of the amount of existing
> code, but the evolution of the library itself. QuantLibXL, for example, is
> very close to QuantLib but it is always some weeks behind in terms of
> releases. However, I admit that porting may be funnier to work on. :-)
>
> PS.: I only a casual contributor.
>
> Regards,
>
> _____________________
> Piter Dias
> pit...@pi...
> www.piterdias.com
>
>
>
> > Date: Mon, 14 Apr 2014 13:43:52 +1000
> > From: sy...@st...
> > To: Qua...@li...
> > Subject: [Quantlib-dev] Port for Google Go
>
> >
> >
> > Hi Dev's, I am interested in creating a port of QuantLib for the
> > Google Go language at http://code.google.com/p/go/ .
> >
> > Is this something the community would be interested in?
> >
> > -Steve
> >
> >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/NeoTech
> > _______________________________________________
> > QuantLib-dev mailing list
> > Qua...@li...
> > https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>
--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>
|