[pypy-dev] works in python2.4, fails in pypy
Ondrej Certik
ondrej at certik.cz
Wed Aug 27 00:19:06 CEST 2008
On Tue, Aug 26, 2008 at 10:27 PM, Simon Burton <simon at arrowtheory.com> wrote:
> On Mon, 25 Aug 2008 23:29:03 +0200
> "Ondrej Certik" <ondrej at certik.cz> wrote:
>
>> Cython is not perfect, but one can get C level speed now. They plan to
>> allow a pure python syntax, so that the same code actually also runs
>> in Python.
>
> What do you mean here ? Cython already allows pure python syntax.
Does it? Wow, didn't know about it. How do you write this in pure python syntax?
def f(int i, int j):
return i*j
?
What I mean is to use some decorator, or some other (python) syntax to
represent the "int" in there.
Ondrej
More information about the Pypy-dev
mailing list