For exposing C++ to Python I personally dislike solutions which require
external tools. I have been using Boost.Python for years and I very
satisfied with it:

http://www.boost.org/doc/libs/1_59_0/libs/python

If you are reasonably comfortable working with modern C++, that would be me
first choice.

It's not automatic, in the sense that you will have to write C++ source
files in which you are specifying exactly what and how you want to expose.
But it gives you a very deep integration between the two languages.

Alternatively you can today do interactive C++ with things like Cling and
Cxx.jl

https://github.com/vgvassilev/cling
https://github.com/Keno/Cxx.jl

Cling looks impressively promising in particular. It also has a IPython
kernel:

https://github.com/minrk/clingkernel

Cheers,

  Francesco.

On 3 September 2015 at 17:31, Nathann Cohen <[email protected]> wrote:

> Yooooooooooooo !
>
> > There are, however, a bunch of libraries that have been developed over
> > the years that parse C++ header files and generate Python/C API
> > bindings, including:
> >
> >     swig = standard wrapper and interface generator
> >     sip = ?
>
> Thaaaaaanks ! It seems that "SWIG" is still alive (and kicking, as
> they are apparently suing somebody for a license violation). I
> forwarded the conversation to Alain Jean-Marie, and maybe that will
> help them :-)
>
> Good evening,
>
> Nathann
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to