3 ms·
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
by azakai 14y ago
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?
- drsintoma 14y agoreadability 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.
- kingkilr 14y agoActually if you read the PyPy interpreter's source, all you'll see is a straightforward interpreter.
- ajuc 14y agoPyPy is a straightforward interpreter. It's just written in a language with good JIT compiler (RPython).
- lucian1900 14y agoSmall correction: a language for which good JIT compilers can be generated for interpreters written in it.
- hcarvalhoalves 14y agoNo, 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.
- MostAwesomeDude 14y agoI'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.