Starting over here.

I looked through the CEPs and found CEP 506 about parametrised types which
describes pretty much what we need here. So, why not just use that?

http://wiki.cython.org/enhancements/typeparameters

It basically gives us parametrised types as 'type factories', and you can
pass parameters as supported by Python's call syntax, which implies that
this works just as well in pure Python mode. This allows Dag to design the
behaviour of the SIMD type in any way he sees fit and relieves us from the
need to overload the bracket syntax for one special type. It would also
work for the normal array type, so that we can easily distinguish it from a
C array declaration (in case we need to, which I consider quite possible).

I'm currently writing up CEP 519 to present my view on all this in a
somewhat structured way. I hope this will get us back to a point where
discussing makes sense again.

http://wiki.cython.org/enhancements/arraysandviews

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to