On Tue, Sep 24, 2024 at 2:51 PM Qian Yun <oldk1...@gmail.com> wrote:
>
> One of the goals of FriCAS is:
>    make it easier for external programs to interface with FriCAS
>
> Currently we have SageMath and jfricas to interface with FriCAS,
> SageMath is using pexpect which is like terminal IO,
> while jfricas is using hunchentoot which is IO via HTTP.
>
> I think a C interface would be most performant, and convenient for
> some use cases.
>
> The disadvantage would be that for different Lisp, it needs different
> code for the C interface.
>
> (SageMath has a C interface for Maxima with ECL.)
>
> Since SBCL has the best performance, I'd like to try to write
> a C interface for it first.

Are you using sbcl-librarian, as I proposed in
https://groups.google.com/g/fricas-devel/c/ds7aqEd-lj4/m/pBKlFj47AgAJ
?
>
> This needs SBCL >= 2.1.11, and "libsbcl.so" built by
> "make-shared-library.sh" in the sbcl repo.

yes, sbcl-librarian uses libsbcl.so - but I have an impression that
you might be trying to write code which
is already there.

Just in case,
Dima

>
> I can call Lisp function from C now, but I have not called/exported
> FriCAS functions yet.  I'll keep you posted.
>
> - Qian
>
> --
> 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 fricas-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/fricas-devel/fc876c08-879d-4651-acfa-3523e3958b0f%40gmail.com.

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAAWYfq2VeLTH5o_mf0wWJi9jR82E7Y6suytm_oExO-YjuVCOsA%40mail.gmail.com.

Reply via email to