News for hackers. Stuff that matters.
Re:PyPy 2.0 Released by MostAwesomeDude on Thursday May 09, 2013 @06:04PM (#5683277)
I hope that that never happens. CPython is still pretty readable, and reference implementations should be simple and easy to learn from.

Actually, I'd like it if somebody hacked up a very very simple and naive Python interpreter and nominated that for the reference implementation instead.

Re:PyPy 2.0 Released by azakai on Thursday May 09, 2013 @06:55PM (#5683505)
Are you saying PyPy is unreadable?

I have not read large amounts of it, but the interpreter is written in RPython. Surely it's easier to read than the CPython source?

Re:PyPy 2.0 Released by hcarvalhoalves on Thursday May 09, 2013 @07:29PM (#5683623)
No, it isn't. PyPy code is very poorly commented and documented, there's a lot going on inside the same codebase. So far, it feels like the only people who hack it are the ones who wrote it. This needs to be sorted out before we see mass adoption.
Re:PyPy 2.0 Released by drsintoma on Thursday May 09, 2013 @07:26PM (#5683612)
readability is probably not the right term, but I think he means easy to understand. Doesn't matter how elegant PyPy's code is, it'll surely be more complex than an straight forward interpreter.
Re:PyPy 2.0 Released by kingkilr on Thursday May 09, 2013 @07:42PM (#5683664)
Actually if you read the PyPy interpreter's source, all you'll see is a straightforward interpreter.
Re:PyPy 2.0 Released by ajuc on Friday May 10, 2013 @03:35AM (#5685077)
PyPy is a straightforward interpreter. It's just written in a language with good JIT compiler (RPython).
Re:PyPy 2.0 Released by lucian1900 on Friday May 10, 2013 @05:06AM (#5685287)
Small correction: a language for which good JIT compilers can be generated for interpreters written in it.
Re:PyPy 2.0 Released by MostAwesomeDude on Thursday May 09, 2013 @08:01PM (#5683723)
I'm saying that it's big. Specialization requires special cases, which require more lines of code. One should be able to reason about the entirety of a Python implementation, and that's very difficult to do for PyPy.