On 29 October 2015 at 21:31, Alasdair McAndrew <[email protected]> wrote:
>
> On a side issue, I note that gsll works by providing a wrapper for gsl using
> the Foreign Function Interface (which is why we need the ffi libraries).
> This means that the SPAD function in gsl.spad calls a lisp function in
> gsl.lisp which calls the gsll function gsll:integration-qng which in turns
> calls the gsl function defined in /usr/local/src/gsl-1.16/integration/qag.c

I see nothing wrong with this strategy since just calling C from Lisp
is the hardest part.  GSLL solves many (but not all) of the problems
with type conversions.

> What this means is that if we wanted we could eliminate gsll completely
> and just use FFI to access gsl directly.  (Of course I don't know how to do
> this!)  But that's modern computing for you - there are chains of libraries
> and programs all depending on each other in different ways
>

Seems OK to me.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to