News for hackers. Stuff that matters.
Re:Programming language ray tracing benchmarks project by kev6168 on Thursday April 25, 2019 @02:30PM (#19751136)
I am surprised PyPy has such a huge lead over Python.

    $ time python pyrb.py 

    real    348m35.965s
    user    345m51.776s
    sys     0m22.880s

    $ time pypy pyrb.py

    real    14m2.406s
    user    13m55.292s
    sys     0m1.416s
Re:Programming language ray tracing benchmarks project by X6S1x6Okd1st on Thursday April 25, 2019 @03:07PM (#19751473)
Raytracing is a pretty great place to apply pypy, you have a very heavy loop that will hit the JIT.

I've certainly seen speedups like that on stuff like project euler code.

Re:Programming language ray tracing benchmarks project by FartyMcFarter on Thursday April 25, 2019 @02:37PM (#19751194)
10-100x speedup seems normal for CPython vs well compiled code. I don't have experience with PyPy though, so in this specific case I'm not sure.