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 <egourgoul...@gmail.com> 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 that library? > - Cython ? > - Boost ? > - ??? > Any example of an existing C++ / Sage interaction would also be > appreciated. > > Best regards, > > Eric. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.