help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] gsl and C++


From: Paul Schneider
Subject: Re: [Help-gsl] gsl and C++
Date: Mon, 11 Jul 2005 21:35:49 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050628)

Brian Gough wrote:

>Walter Dehnen writes:
> > I therefore wonder whether you have plans to generate genuine C++ header
> > files for gsl (not on your TODO list, I believe). Mostly, this would only
> > involve wrappers that include the original C headers and define some
> > inlined templates (and avoid C macros), very similar to the C++ std:: math
> > library (file cmath).
>
>Sorry, we have no plans to do that ourselves.  
>
>  
>
Hi Brian,

For my part, I often know exactly what I want to use from GSL at compile
time.

Not that GSL has performance problems, but writing a C++ templated
static version of the GSL probably would be a lot faster than the
dynamic. E.g. routines that require pointers to functions could be run
with function templates, which in turn could be inlined. One probably 
would not even have to know anything about the actual algorithms in
order to implement this.

Where would you recommend to start?

Best,

Paul






reply via email to

[Prev in Thread] Current Thread [Next in Thread]