Are there any particular algorithm you are interested in?

Anyways, back to bindings for GSL. Noel Welsh has bindings for an older
version of GSL.
It could be a starting point for making a new version

    https://github.com/noelwelsh/mzgsl

Note also this old thread:

   https://groups.google.com/forum/#!topic/racket-users/K_d06Jy-B8I

/Jens Axel



2017-06-02 10:56 GMT+02:00 Alasdair McAndrew <[email protected]>:

> On Friday, June 2, 2017 at 3:24:12 PM UTC+10, Konrad Hinsen wrote:
> > On 02/06/17 02:50, Alasdair McAndrew wrote:
> >
> > > I have been experimenting with the bigfloat library, which I
> understand to be a wrapper for the GNU MPFR library.  And it works well.
> But I'm wondering if anybody's given thought about porting other scientific
> libraries, such as GNU GSL to Racket.  Is this the sort of thing which
> would be very difficult indeed - or are there tools available to do the
> heavy lifting, so to speak, as well as much of the coding drudgery?  I
> would certainly like to have access to GSL.
> >
> > Racket's foreign-function interface is pretty good:
> >
> >    http://docs.racket-lang.org/foreign/
> >
> > Moreover, compared to other languages (Python etc.), you have macros to
> > abstract away much of the boilerplate that wrappers inevitably require.
> >
> > The main work is (1) designing a good API on the Racket side and (2)
> > providing sufficient tests that users will trust the code. For GSL the
> > API should not be too hard because its structure is simple and it
> > doesn't rely on complex data structures.
> >
> > - Konrad.
>
> Thank you very much - that would appear to be the way to go.  I note that
> GSL has been ported to Common Lisp, using a similar approach (libffi) - see
> https://common-lisp.net/project/gsll/ so I suppose it could also be
> ported to Racket.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-- 
Jens Axel Søgaard

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to