Re: [sage-devel] Using C++ library from Sage

2017-10-18 Thread Francesco Biscani
Consider pybind11 as a (probably better) alternative to Boost Python: https://pybind11.readthedocs.io/en/stable/ You will need a C++11 capable compiler, but the gains in terms of ease of use, compilation speed and memory usage are IMO well worth it. On 18 October 2017 at 16:31, Eric Gourgoulhon

Re: [sage-devel] Using C++ library from Sage

2017-10-18 Thread Jeroen Demeyer
On 2017-10-18 16:31, Eric Gourgoulhon wrote: Hi Sage Devs, We plan to develop some experimental package for Sage, which requires to make use of a C++ library (basically this is to implement numerical calculus on manifolds). What would you recommend to make the link between Sage (Python) code and

[sage-devel] Using C++ library from Sage

2017-10-18 Thread Eric Gourgoulhon
Hi Sage Devs, We plan to develop some experimental package for Sage, which requires to make use of a C++ library (basically this is to implement numerical calculus on manifolds). What would you recommend to make the link between Sage (Python) code and that library? - Cython ? - Boost ? - ??