cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
<cfbolz>
Somebody else wrote it, but I tuned it a bit
<arigato>
:-)
<arigato>
gosh what aliasing on the far-away textures
<arigato>
particularly the vertical wooden panels
<nimaje>
does it really need pypy? or just python?
<arigato>
from our experience long ago trying to do something very similar: pypy can be more than 100x faster at this job, so it would be unplayable in cpython
<cfbolz>
Indeed
<cfbolz>
arigato: the textures are 64*64
<cfbolz>
Actually while it's much much faster than cpython, I am still a bit underwhelmed by PyPy's performance
<arigato>
it's using numpy, I'm not sure how much exactly
<simpson>
Very cool! This is motivating.
<arigato>
cfbolz: the low resolution of the textures *decreases* the far-away aliasing effects, but the low screen resolution increases it again. "Mipmapping" is what I'm saying is the right thing to do here (it was introduced in Quake I think, not in the Doom game)
<cfbolz>
arigato: numpy is just for picture loading (at startup) and blitting
<arigato>
OK
<cfbolz>
arigato: that's actually one of the ways I optimized it, it started with using arrays more, which is just slow :-(
Dejan has joined #pypy
<LarstiQ>
hah, for once my twitter reading of this topic was ahead of my irc reading ;)
<cfbolz>
eh :)
<cfbolz>
tos9: did you see that somebody actually built a pypy3-jit for termux on android now?
gef has quit [Ping timeout: 265 seconds]
gef has joined #pypy
gef_ has joined #pypy
gef has quit [Ping timeout: 252 seconds]
gef_ has quit [Read error: Connection reset by peer]