[pypy-dev] translating pypy benchmarks to C

Alex Gaynor alex.gaynor at gmail.com
Sun Feb 24 17:58:39 CET 2013


Hi,

Why are you trying to do this? The translator doesn't handle random Python,
only RPython.

Alex


On Sun, Feb 24, 2013 at 8:48 AM, Ghitulete Razvan <
razvan.ghitulete at gmail.com> wrote:

> Hi,
>
> I've been trying for some time now to translate python code into C. After
> playing around with the pypy interactive translator shell and worked just
> fine. But the I tried to translate the pypy benchmarks from speed.pypy.orginto C code, but I seem to be running into all kinds of trouble.
>
> So far I've tried with bm_ai.py which seems to fail because it uses
> closures(or so i'm told by the translator), and bm_threading.py seems to
> fail while processing threading.py. Is there something I'm doing wrong?
>
> P.S.: I'm simply running the translator.py script with -s option on
> slightly modified versions of the above mentioned files(adding an entry
> point).
>
> --
> Sincerely,
> Razvan Ghitulete
> Universitatea Politehnica Bucuresti
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>
>


-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130224/791735d8/attachment.html>


More information about the pypy-dev mailing list