Can I take advantage of this thread to ask the HN crowd a technical question? Some time ago, I implemented an automatic differentiation tool. Using operator overloading on a special "autodouble" type the tool would trace the execution of a block of numerical code. Then, some calculus would automatically happen, and it would output and compile fast c-code that would compute the original function and derivatives in pure c. This was great, except the c-code that was output was freaking gigantic (like hundreds or thousands of megabytes) albeit very simple, and so the c compiler would take <i>forever</i> to run. Sigh.<p>My question is: could I leverage pypy somehow to avoid this? Can I output RPython? Can I output whatever RPython is compiled down to instead? Can I do this with no more than, say, a 3x penalty compared to c?<p>(I apologize for asking a question only marginally related to the particular article here...)
> has beta level support for loading CPython C extensions.<p>Is this via ctypes, or "real" support in much the same as how CPython would behave?<p>I ask because this is one of the features that I've been waiting (impatiently) for - I've run some Flask projects using PyPy and gunicorn, and <i>love</i> how fast it goes, but really want to be able to use the rest of my codebase, which unfortunately does rely on some C (and Cython) extensions. (:
In general I'm very happy with my choice of Ruby/Rails instead of Python/Django, but PyPy is one of the few things I envy Python developers for.<p>I wish something similar could be developed for Ruby.
Are there production users of PyPy?<p>I feel like PyPy has always been the most academically interesting Python implementation. But has it taken away mindshare from CPython?