Re: Port for Google Go
Posted by
Luigi Ballabio on
Apr 14, 2014; 4:08pm
URL: http://quantlib.414.s1.nabble.com/Port-for-Google-Go-tp15146p15151.html
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
------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev