Hi.

On Thu, May 29, 2008 at 6:12 AM, Martin C. Martin <[EMAIL PROTECTED]>
wrote:

> Thanks Rahul.  Is it true that in unPython, everything needs a type?  Or
> are type annotations optional?


Function type signatures are mandatory. Local variable types are inferred.
(There are a few cases where local type inference fails and I need to
investigate them).


> It sounds like you're duplicating a lot of the work that's already gone
> into Cython.  Would it be quicker if you took the Cython source code and
> modified it to accept types as annotations, and add your optimizations?
>  One approach that comes to mind is to add annotations to Cython, and
> deprecate the cdef stuff.  It seems like your job would be a lot easier,
> and you'd help advance Cython at the same time.


I will look into it.


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

Reply via email to