[GAP Forum] Communicating with GAP in C++

Dmitrii Pasechnik dmitrii.pasechnik at cs.ox.ac.uk
Sun Apr 19 23:13:05 BST 2015


On Sun, Apr 19, 2015 at 12:25:48PM -0400, Jonathan Gryak wrote:
> According to the FAQ:
> 
> > What you can do is to run GAP in a child process and communicate with it
> > using pipes, pseudo-ttys, UNIX FIFOs or some similar device. We have done
> > this successfully in a number of projects, and you can contact the support
> > list for more detailed advice if you want to go down this route.
> 
> 
> Unfortunately I can't seem to find any documentation or post in the Forum
> or elsewhere which shows this process. Any suggestions?

what you can do if you need to call GAP from C/C++ is to use libGAP
https://bitbucket.org/vbraun/libgap

(this is going to be faster than pipes/pttys/etc...)

HTH,
Dmitrii



More information about the Forum mailing list