[Numpy-discussion] numpy and C99
Charles R Harris
Fri Oct 23 09:33:19 CDT 2009
On Fri, Oct 23, 2009 at 7:48 AM, Darren Dale <firstname.lastname@example.org> wrote:
> On Fri, Oct 23, 2009 at 9:29 AM, Pauli Virtanen <email@example.com<pav%2Bsp@iki.fi>>
> > Fri, 23 Oct 2009 09:21:17 -0400, Darren Dale wrote:
> >> Can we use features of C99 in numpy? For example, can we use "//" style
> >> comments, and C99 for statements "for (int i=0, ...) "?
> > It would be much easier if we could, but so far we have strived for C89
> > compliance. So I guess the answer is "no".
> Out of curiosity (I am relatively new to C), what is holding numpy
> back from embracing C99? Why adhere to a 20-year-old standard?
To clarify: most compilers support the "//" comment style, but some of the
older Sun compilers don't. The main problem on using any of the newer stuff
is portability. Some of the new stuff, like "//", while handy isn't crucial.
What really hurts is not being able to rely on the math library being up to
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion