Re: [Cython] RFC: an inline_ function that dumps c/c++ code to the code emitter

2016-08-19 Thread Stefan Behnel
Robert Bradshaw schrieb am 19.08.2016 um 11:36: > On Thu, Aug 18, 2016 at 12:05 PM, Jason Newton wrote: >> I was hoping we could give a way to drop straight into C/C++ inside of >> Cython pyx files. >> >> Why? >> [...] >> -It works around having the Cython compiler know about all of C++'s nuances >

Re: [Cython] RFC: an inline_ function that dumps c/c++ code to the code emitter

2016-08-19 Thread Kevin Thornton
Hi Robert, Related to this point, I think there are three important features that Cython would benefit from, as far as C++11 and newer are concerned. In order of what I'm guessing to be increased complexity are: 1. Non-type template parameters. 2. "rvalue" references for standalone functions and

Re: [Cython] RFC: an inline_ function that dumps c/c++ code to the code emitter

2016-08-19 Thread Jason Newton
On Fri, Aug 19, 2016 at 3:19 PM, William Stein wrote: > On Fri, Aug 19, 2016 at 8:19 AM, Jason Newton wrote: > > You must realize that almost any other python driven way to compile > c-code > > in the spirit these projects do is deprecated/dead. Cython has absorbed > all > > the reputation and

Re: [Cython] RFC: an inline_ function that dumps c/c++ code to the code emitter

2016-08-19 Thread William Stein
On Fri, Aug 19, 2016 at 8:19 AM, Jason Newton wrote: > You must realize that almost any other python driven way to compile c-code > in the spirit these projects do is deprecated/dead. Cython has absorbed all > the reputation and users that didn't go to pure-c/boost.python - pybind11 is > the new

Re: [Cython] RFC: an inline_ function that dumps c/c++ code to the code emitter

2016-08-19 Thread Jason Newton
On Fri, Aug 19, 2016 at 5:36 AM, Robert Bradshaw wrote: > On Thu, Aug 18, 2016 at 12:05 PM, Jason Newton wrote: > > Accidentally posted to an already-opened tab for the cython-users ML > > yesterday, moving to here. Following up from a github opened issue here: > > > > https://github.com/cython/

Re: [Cython] RFC: an inline_ function that dumps c/c++ code to the code emitter

2016-08-19 Thread Robert Bradshaw
On Thu, Aug 18, 2016 at 12:05 PM, Jason Newton wrote: > Accidentally posted to an already-opened tab for the cython-users ML > yesterday, moving to here. Following up from a github opened issue here: > > https://github.com/cython/cython/issues/1440 > > I was hoping we could give a way to drop stra