Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jarcane
on Dec 19, 2014
|
parent
|
context
|
favorite
| on:
Nuitka: a Python compiler
To be honest, I found that in my use case (game dev, supported by bindings to a C library), PyPy was actually slower than CPython. I'd be curious to dig up my code and compare performance to a Nuitka-compiled executable.
detaro
on Dec 19, 2014
[–]
out of curiosity, which bindings did you use?
jarcane
on Dec 19, 2014
|
parent
[–]
libtcod. It was a roguelike.
ptx
on Dec 19, 2014
|
root
|
parent
[–]
Those Python bindings seem to use ctypes, which is indeed slower[1] on PyPy. They recommend[2] using cffi instead.
[1]
http://pypy.org/performance.html
[2]
http://pypy.readthedocs.org/en/latest/extending.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: