Posted by
Ilya Mirman on
URL: http://quantlib.414.s1.nabble.com/multithreading-Quantlib-tp12452p12457.html
Hi Luigi,
With Cilk++, you maintain the serial semantics of your code. Among other
things, this means that you can go between the multithreaded version and the
serial original with a couple keystrokes. So if someone's not interested in
the multithreaded version of Quantlib deployed under CAPL or the commercial
license, just compile it with GCC instead of the Cilk++ compiler (which
consists of our additions to the GCC 4.2 compiler).
Cheers,
ilya
-----Original Message-----
From: Luigi Ballabio [mailto:
[hidden email]]
Sent: Tuesday, January 13, 2009 9:08 AM
To: Ilya Mirman
Cc:
[hidden email]
Subject: RE: [Quantlib-dev] multithreading Quantlib?
Hi Ilya,
On Tue, 2009-01-13 at 08:14 -0500, Ilya Mirman wrote:
> Regarding the expertise: Cilk++ is pretty easy to learn. We've had high
> school students learn it in a couple days.
Yes, I'm sure of that---if we're talking about syntax, that is.
My problem is that I still don't have the mindset for writing
multithreaded code (nor, unfortunately, the time to learn it right now.)
But I'd be happy if some other developers wanted to have a go at it.
> Regarding the licensing: The essence of the CAPL license is that for open
> source projects that are willing to share their code, it's free and open.
> If the end user is not willing to share the resulting code, then they can
> buy a commercial license.
But this would change the QuantLib license. As of now, the end user can
use or modify QuantLib without having to share the resulting code.
Including Cilk++ code would prevent him from doing so. It's the same
problem that forces us not to use, say, the GNU multi-precision library.
Am I correct?
Luigi
--
Of course, if people could just act consistently, they could keep
their desks clean, avoid cavities, lose weight, give up smoking,
play a musical instrument, and possibly even produce software on
a regular and timely basis.
-- Alistair Cockburn
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev