For the PNG extension specifically, it was creating callbacks that can be called from C and the setjmp magic that libpng requires. I think it's possible to do it, but I was surprised at how non-obvious those pieces of Cython were. I was really hoping by creating this experiment that a Cython expert would step up and show the way ;)
The Agg backend has more C++-specific challenges, particularly instantiating very complex template expressions -- but I haven't really followed that on through. Mike On 11/30/2012 09:13 AM, Jason Grout wrote: > On 11/29/12 10:59 AM, Michael Droettboom wrote: >> I've not had >> much luck with Cython for this kind of thing in the past, but I know it >> is popular. > I'm curious about what problems you've run into and how long it was. In > the past, Cython hasn't supported C++ very well, but the situation has > greatly improved recently. See > http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html for some > details. > > Thanks, > > Jason > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > TUNE You got it built. Now make it sing. Tune shows you how. > http://goparallel.sourceforge.net > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel