From: Ryan M. <rm...@gm...> - 2012-12-04 22:20:26
|
On Tue, Dec 4, 2012 at 4:07 PM, Damon McDougall <dam...@gm...>wrote: > On Mon, Dec 3, 2012 at 12:12 PM, Chris Barker - NOAA Federal > <chr...@no...> wrote: > > generated code is ugly and hard to maintain, it is not designed to be > > human-readable, and we wouldn't get the advantages of bug-fixes > > further development in Cython. > > As far as I'm concerned, this is an argument against Cython. > > I've had to touch the C/C++/ObjC codebase. It was not automatically > generated by Cython and it's not that hard to read. There's almost > certainly a C/C++/ObjC expert around to help out. There's almost > certainly Cython experts to help out, too. There is almost certainly > *not* an expert in Cython-generated C code that is hard to read. > You've had to touch the C/C++/ObjC because that's the only source that exists; in this case that's the C *is* the implementation of the wrapper. If we go Cython, the cython source is all that is maintained. It may be useful to glance at generated code, but no-one should be tweaking it by hand--the Cython source, and only the Cython source, represents the implementation of the wrapper. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |