This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ wrapper [stuff to do]


Gerard Jungman wrote:

> Ivo Kwee wrote:
> 
> > I would be OK to code something up
> > but I need some ready established interface specification.
> > Earlier, SVMT has been mentioned. Is this the "best" one to go for?
> > Anyone knows "better" or more "accepted" standards?
> 
> Unfortunately, there is none.
> SVMT is not perfect.

In your humble opinion!-(

> > I don't know what happened to the standardization discussion
> > at oonumerics; there hasn't been any activity there for some time.
> > It was probably just decided (implicitly?)
> > that the world was not ready yet to adopt a standard,
> > especially since people are still working hard
> > on their template-happy implementations.
> 
> > I was thinking myself if MatLab-like conventions would be better,
> > but they are not really OO style.  Suggestions?
> 
> OO-style, as such (I guess thast I'm not sure exactly what you mean),
> is not so important.
> What is important is that you don't expose implementation details.

Or the data representation details.

> Some people have argued here that this would be difficult to do
> with the GSL vector/matrix stuff.
> I don't think it would be that hard to do well,
> but there are some issues.
> 
> I don't want to be discouraging.  But I think that
> the whole question of interface standards needs serious work.
> I don't think it is time yet to start wrapping.

No.
I don't think that the idea of standard interfaces needs work.
This is a very old and very successful approach.
The Basic Linear Algebra Subroutine (BLAS) library and
the Linear Algebra PACKage (LAPACK) are standard APIs.
All that we really need to do is to upgrade and modernize
API standards for numerical computing so that
ANSI C, C++ and Fortran 90/95/00 programmers can use them.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]