[GiNaC-list] C binding for GiNaC

Alexey Sheplyakov asheplyakov at yandex.ru
Mon Jun 22 15:12:58 CEST 2020


Hello,

22.06.2020, 16:45, "Xianwen Chen (陈贤文)" <x at chen.ac>:

> I wonder if it is possible to use GiNaC in a C program?

I think it's rather non-trivial due to exceptions, smart pointers, and all other C++ stuff.

> Is there a binding for that?

None I know of.

> I guess there may be one, because GiNaC is used in other software, for example,
> Octave and Sage Math.

As far as I know Octave is written in C++, so there's no need for wrappers.
On the other hand Sage builds python wrappers (with cython) instead of generic C wrappers.
And Sage uses pynac (http://github.com/pynac/pynac) rather than the original GiNaC.

Best regards,
      Alexey


More information about the GiNaC-list mailing list