[Cython] RFC: an inline_ function that dumps c/c++ code to the code emitter
Jason Newton
nevion at gmail.com
Sun Aug 21 06:46:07 EDT 2016
ctypes/cffi aren't in the same class for comparison. Just at the start of
the list is basically a restriction from C++ name mangling fouling things
up.
Pybindgen uses a programmable model to generate bindings for existing
functions/classes only. It's a fair bit different from anything I had in
mind for the python side and even in the C++ binding side (boost.python
class) or pyinline class - no additional code of any kind allowed. Last
activity 2014 - I don't really have a handle on how alive it is, but I
think it's inactive.
On Sun, Aug 21, 2016 at 5:38 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Robert Bradshaw schrieb am 21.08.2016 um 11:11:
> > On Fri, Aug 19, 2016 at 12:32 PM, Jason Newton wrote:
> >> PyInline's last news update was in 2004 where the author gives a "Hats
> of[f]
> >> to PyRex", prior to that only a few blog entries in 2001/2002, I've not
> come
> >> across any project using it but maybe that is not sufficient to call it
> >> deprecated/dead? Does it work with Python 3?
> >> http://pyinline.sourceforge.net/
> >>
> >> Pyrex no longer has a userbase. Last ML post was 2014.
> >>
> >> Weave only supports python2, got ripped out of Scipy and also directs to
> >> check out Cython and strongly implies the project is all but
> >> dead/maintenance mode: https://github.com/scipy/weave
> >>
> >> Did I miss any of the python driven ways?
> >
> > Pybindgen? And of course there's ctypes/cffi. I could have sworn I saw
> > another project pop up several years ago that was a lot like what
> > you're suggesting, e.g. a listing of
> >
> > def foo(a, b):
> > [c code using a and b]
> >
> > I don't recall how the types for a and b were declared/converted, and
> > I don't think it did much non-trivial stuff yet, but I can't find a
> > trace of it now (but it's hard to search for laking a name).
>
> This page lists some, although I can't see any real candidates for what you
> describe:
>
> https://wiki.python.org/moin/IntegratingPythonWithOtherLanguages
>
> And most of those are dead links and/or projects.
>
> Stefan
>
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> https://mail.python.org/mailman/listinfo/cython-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20160821/33c71c2c/attachment.html>
More information about the cython-devel
mailing list