Login  Register

Re: General questions about QuantLib-SWIG for C#

Posted by Luigi Ballabio on Oct 30, 2015; 3:08pm
URL: http://quantlib.414.s1.nabble.com/Comparing-QuantLib-and-QuantLib-SWIG-for-C-tp17005p17007.html

Hello,

On Thu, Oct 29, 2015 at 5:56 PM grantathon <[hidden email]> wrote:
- About what percentage of QuantLib is usable via QuantLib-SWIG?
- If not QuantLib is not 100% usable via QuantLib-SWIG, what are the fully,
partially, and zero implemented features?

Hard to say. It's not 100% for sure, and  of course it may depend on what part of the library you're most interested in. The general rule is: a feature is available if it's declared in a .i file in the QuantLib-SWIG/SWIG folder.


- Is there active development for QuantLib-SWIG by the QuantLib team, or are
new features only added by request and/or community support?

New features are usually added when someone needs them.


- What is the lag between QuantLib releases and QuantLib-SWIG releases?

Technically, a new QuantLib release doesn't need a new QuantLib-SWIG release; we keep backwards compatibility, so if I released, say, QuantLib 1.7, you could still use QuantLib-SWIG 1.6 with it.  This said, I usually release QuantLib and QuantLib-SWIG in tandem (unless I make a bugfix release for QuantLib, such as 1.6.2).


I've written some simple test projects pricing fixed rate bonds using
QuantLib-SWIG (NQuantLib64) and it worked out well!  The thing is I may need
access to more features in the future, and QLNet is quite limited in this
regard.  If QuantLib-SWIG is well supported and feature-full, I would surely
migrate.

Not feature-full and not extremely well supported, I'm afraid. However, it wouldn't be so hard for you to add the features you need. (Especially if they're missing from QLNet, too; it would surely be easier to export them through SWIG than to port them to C#).

Hope this helps,
    Luigi


--

<http://leanpub.com/implementingquantlib>
<http://implementingquantlib.com>
<http://twitter.com/lballabio>


------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users