The ideas have now evolved so much that a new subject was necesarry. I've
written up this (but not linked to it anywhere, perhaps a "Far-out ideas"
section could be added or something)...

http://wiki.cython.org/CodeGeneratorPluginArchitecture

It is simply an expansion of the last idea of indexing operators.

Now, I haven't even looked at Cython source so I have no idea if this is
at all feasible, if it requires a full redesign or reimplementation or
whatever.

However, what I do see is that it would solve any problems with wrapping
any C++, STL, NumPy, ... code for ever, and it doesn't look like an
awfully far fetch from what Cython is already doing.

(As I say in the document, it is a very imperative rather than declarative
approach, but if it can solve the problems quickly then it should be
forward-compatible with more powerful declarative approaches anyway, so
whatever gives the best results...)

I'll calm down now. :-)

Dag Sverre

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

Reply via email to