Hacker News new | ask | show | jobs
by dbecker 4736 days ago
He may know about PyPy, but need to use libraries that only work with CPython. Numpy is an example of this type of library, though there are many others.

Unfortunately, PyPy isn't a viable alternative for most scientific computing problems...

1 comments

I would say PyPy isn't a viable alternative for any problems at this point, given the general lack of documentation.
What documentation does it lack? What are you looking for to be documented?
Last time I looked into PyPy (2-3 months ago):

- There wasn't up to date documentation about basic topics, like how to compile it.

- There isn't comprehensive documentation about what RPython is supposed to be.

- In the repository, it's hard to figure out what is RPython and what isn't, what's code for the interpreter, what's code for the stdlib, etc. Specially because modules import from each other in crazy ways.

- It's hard for someone who's not a contributor to peek at the code to figure out why client code isn't running on PyPy, since the only people who understand the architecture are the authors.

- The code itself is pretty opaque and light on comments.

I understand it's a fast moving project and that it had major rewrites so far, but those are the reasons why I say it's not a viable alternative for production.