[GAP Forum] Interface with other languages

Alexander Konovalov alexander.konovalov at gmail.com
Fri Jan 7 15:58:05 GMT 2011


Dear Bartosz, dear GAP Forum,

There are already several GAP packages that contain C parts and 
use LoadDynamicModule to load them, so probably to begin with 
you may have a look at them. In no particular order, these packages 
are: orb, linboxing, io, HAP, Gauss, FR, EDIM and Browse.

Best wishes,
Alexander


On 10 Dec 2010, at 14:44, bart at mat.ug.edu.pl wrote:

> W dniu 10.12.2010 10:06, Max Horn pisze:
>> In addition, GAP can load dynamic modules (again, at least on UNIX type
> systems). I used that to implement some of the most time critical
> functions of a package I am working on in C, for a major speed boost.  So
> you could call other systems from within GAP
> 
> Hello,
> 
> How to do this?
> Could I write my own function in C/C++, compile it into library, and use 
> in GAP?
> I imagine that there could be necessary some types conversions (?)
> 
> I see LoadDynamicModule() in
> http://www.gap-system.org/Manuals/doc/htm/ref/CHAP003.htm#SECT007
> but is it possible to use it with library other than obtained by using gac?
> 
> 
> All the best
> Bartosz Putrycz



More information about the Forum mailing list