Live data from Hacker News

PyPy 2.0 Released

morepypy.blogspot.com

1–10 of 77 posts

Re: PyPy 2.0 Released

#2
The gevent/eventlet part of this has me pretty excited. We needed this in order to do some experimenting with PyPy without investing a good deal of time on a test conversion. I'm also interested to see if cffi is as good as I've heard it is (relative to ctypes).

Excellent work, fijal and team!

Re: PyPy 2.0 Released

#3
Can someone knowledgeable compare PyPy, Numba and Cython? I mostly use Cython. Tried Numba also, it has very nice workflow when it works with autojit (when it doesn't error messages are pretty cryptic). With PyPy I don't understand why for example all that type information obtained from jit wouldn't be used to make something like Numba specialized functions or Cython modules (noob question but please answer).

Re: PyPy 2.0 Released

#5
post #3

Can someone knowledgeable compare PyPy, Numba and Cython? I mostly use Cython. Tried Numba also, it has very nice workflow when it works with autojit (when it doesn't error messages are pretty cryptic). With PyPy I don't understand why for example all that type information obtained from jit wouldn't be used to make something like Numba specialized functions or Cython modules (noob question but please answer).

Cython is a compiler not an interpreter. Numba requires explicit hinting and can only optimize some undefined (?) subset of Python.

PyPy on the other hand is simply a fast Python interpreter. Not sure what you mean regarding the type information gathered by the JIT.

Re: PyPy 2.0 Released

#6
Does anyone have any performance comparisons to Perl? I've used Perl for over a decade. Just started using Python on a project. I've got a lot to learn but Python makes you feel like you've got it down pretty quickly.

One of the things that kept me on Perl was its great performance.

http://benchmarksgame.alioth.debian.org/u64q/perl.php

I'd like to go for the win, win. Is that 'FTWW?'

Re: PyPy 2.0 Released

#7
post #4

Congratulations! Looking forward to the day PyPy becomes the reference implementation.

I'm with you on that one. But bear in mind it doesn't support Python 3 yet, so it might still be some way away.

Re: PyPy 2.0 Released

#8
post #5
post #3

Can someone knowledgeable compare PyPy, Numba and Cython? I mostly use Cython. Tried Numba also, it has very nice workflow when it works with autojit (when it doesn't error messages are pretty cryptic). With PyPy I don't understand why for example all that type information obtained from jit wouldn't be used to make something like Numba specialized functions or Cython modules (noob question but please answer).

Cython is a compiler not an interpreter. Numba requires explicit hinting and can only optimize some undefined (?) subset of Python. PyPy on the other hand is simply a fast Python interpreter. Not sure what you mean regarding the type information gathered by the JIT.

For example does PyPy always warm up, or can it store "warmed up" version of some function (where type of objects is inferred)? I know that this is not in accordance with highly dynamic nature of Python, but not all functions are highly dynamic.

Re: PyPy 2.0 Released

#9
post #8
post #5

Earlier quoted context omitted.

Cython is a compiler not an interpreter. Numba requires explicit hinting and can only optimize some undefined (?) subset of Python. PyPy on the other hand is simply a fast Python interpreter. Not sure what you mean regarding the type information gathered by the JIT.

For example does PyPy always warm up, or can it store "warmed up" version of some function (where type of objects is inferred)? I know that this is not in accordance with highly dynamic nature of Python, but not all functions are highly dynamic.

Do you mean can you save the state of the JIT for future use?

Re: PyPy 2.0 Released

#10
post #7
post #4

Congratulations! Looking forward to the day PyPy becomes the reference implementation.

I'm with you on that one. But bear in mind it doesn't support Python 3 yet, so it might still be some way away.

I wonder how long? I searched for a roadmap, but found none.
Post reply on HN