In my SoC project, I scetched implementing NumPy support through adding some limited template support. Then Robert's proposal about object assumptions came along and as a result, things are (probably) going to look a lot less C++-like and a lot more Python, dynamically typed-like.
The following represents my attempt to do the same for the other features I proposed in my SoC project plan, namely function templates and function overloading. I.e. it allows you to do the same things as C++ overloading and function templates allows, but in a much more Pythonic and much less strongly-typed way. I've called it "compile-time duck-typing": http://wiki.cython.org/enhancements/compiledducktyping Comments welcome. I'd very much like to focus only on the user and language development perspective for now (i.e. not so much how this would actually be implemented in the Cython compiler. BTW this would probably be part of my SoC if approved). Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
