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
gef_ has quit [Ping timeout: 260 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 240 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
jcea has quit [Ping timeout: 250 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 265 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 260 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 240 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 265 seconds]
gef has joined #pypy
gef has quit [Quit: No Ping reply in 180 seconds.]
gef has joined #pypy
gef has quit [Ping timeout: 265 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 246 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 268 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 265 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 240 seconds]
mattip has joined #pypy
gef has joined #pypy
gef has quit [Read error: Connection reset by peer]
gef has joined #pypy
dmalcolm has quit [Ping timeout: 260 seconds]
gef has quit [Quit: No Ping reply in 180 seconds.]
gef has joined #pypy
isidentical has joined #pypy
ServerStatsDisco has quit [Ping timeout: 245 seconds]
ServerStatsDisco has joined #pypy
energizer has quit [Quit: ZNC 1.7.0+deb0+xenial1 - https://znc.in]
energizer has joined #pypy
gef has quit [Ping timeout: 252 seconds]
dmalcolm has joined #pypy
<mattip> I think the 7.3.5 release should go out as-is to fix the generator-list problem and to get a first win64 version out,
<mattip> we can call the win64 support beta and tell people there will be problems
<mattip> either that or go for a full release from latest default/py3.7 after I figure out what is going on with numpy
gef has joined #pypy
gef has quit [Read error: No route to host]
gef has joined #pypy
Dejan has joined #pypy
Dejan has quit [Changing host]
Dejan has joined #pypy
long4mud has joined #pypy
<cfbolz> mattip: I'd say let's go for 7.3.5
<cfbolz> Agree with calling it beta
<mattip> cfbolz: should I put in 78aff93d0a13 and 07591fd02f2d ?
<mattip> or just release rc2 as-is?
gef has quit [Ping timeout: 245 seconds]
<cfbolz> mattip: hm, don't know. it's really rare code
<mattip> ok, let's leave it for 7.3.6
gef has joined #pypy
<mattip> ahh, no, I need a quick rc3 anyway for issue 3441 (greenlets)
<cfbolz> ok
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6386 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7675 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/5577 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1505 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/1001 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/5577 [mattip: Forced by command line script, release-pypy2.7-v7.x]
oberstet has joined #pypy
Dejan has quit [Remote host closed the connection]
Dejan has joined #pypy
Dejan has joined #pypy
Dejan has quit [Changing host]
otisolsen70 has joined #pypy
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7675 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7676 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/5578 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6386 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6387 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/5578 [mattip: Forced by command line script, release-pypy3.7-v7.x]
gef has quit [Ping timeout: 268 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 245 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1505 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1506 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/248 [mattip: Forced by command line script, release-pypy2.7-v7.x]
gef has joined #pypy
tos9 has joined #pypy
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
jcea has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6387 [mattip: Forced by command line script, release-pypy3.7-v7.x]
gef has quit [Ping timeout: 245 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7676 [mattip: Forced by command line script, release-pypy3.7-v7.x]
gef has joined #pypy
long4mud has quit [Quit: WeeChat 3.0.1]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/1001 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/1002 [mattip: Forced by command line script, release-pypy3.7-v7.x]
oberstet has quit [Quit: Leaving]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1506 [mattip: Forced by command line script, release-pypy3.7-v7.x]
gef has quit [Read error: Connection reset by peer]
gef has joined #pypy
max3 has joined #pypy
tos9 has quit [Ping timeout: 246 seconds]
tos9 has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/248 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/249 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/1002 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<simpson> https://lobste.rs/s/r3smbl/pep_659_specializing_adaptive#c_qce8zo Does anybody know what they're talking about here?
<simpson> I gather that there's a dichotomy of some sort, with (int, float) on one side, and (str, dict, object) on the other. But, how and what and why? Which side has e.g. set?
max3 has quit [Quit: Connection closed]
gef has quit [Ping timeout: 265 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/249 [mattip: Forced by command line script, release-pypy3.7-v7.x]
gef has joined #pypy
gef has quit [Ping timeout: 240 seconds]
gef has joined #pypy
<cfbolz> simpson: yeah, the dichotomy exists
<cfbolz> numericy code, and objecty code
<cfbolz> but imo pypy is also quite good at objecty code
<cfbolz> and dicts and lists too, if they are type stable
<cfbolz> anyway, we will see. I can believe that people would like a cpython that is consistently 2x faster more than pypy, which is anything between 0.5x and 50x faster
<simpson> Hm. Okay. I accept this, but I want to know how it generalizes. Is this because of immutability? Pointer-chasing? How can language designers put more of their builtin types on the numericy side?
<cfbolz> simpson: you can't ;-)
<cfbolz> yes, pointer chasing is certainly an aspect
gef has quit [Ping timeout: 240 seconds]
<simpson> Is it variable sizes? Like, are str and int really that different?
<simpson> Sorry, I'm trying really hard to understand. I feel like I'm missing something blazingly obvious.
<cfbolz> simpson: yeah! eg the primitive operations on str are still function calls, whereas on ints its cpu ops
<simpson> Aha. So even if language designers try to change which types are composite types, we're still all forced to obey the CPU's idea of what is composite and what is primitive.
<cfbolz> yes
<cfbolz> anyway, I don't think this is super clearly delineated
<cfbolz> feels more like a hunch
gef has joined #pypy
<simpson> Yeah, but it's a hunch that would explain why the numericy side is so small. It does suggest that language designers could work harder to get composite types like set[int] to be lowered to efficient code.
<cfbolz> this looks like a really cool benchmark though: https://www.oilshell.org/
gef has quit [Ping timeout: 245 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 265 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 268 seconds]
gef has joined #pypy
<antocuni> I think that one big reason of pypy speed is the very aggressive inlining/specialization/constant folding which happen automatically thanks to tracing
tsaka__ has quit [Ping timeout: 246 seconds]
<antocuni> complex pieces of software tends to build abstractions over abstractions, and dynamic languages such as python adds layers of layers of more abstractions (e.g., "everything is an object/is boxed", and "everything has a __dict__", etc.)
<antocuni> and the pypy JIT is often able to kill a large part of this overhead
gef has quit [Ping timeout: 265 seconds]
<antocuni> by contrast, method-based JITs (which are the majority of other JITs for Python which I see/I saw around) cannot optimize too much across layers of abstraction
<antocuni> but they can do a better job at numericy code which uses one or more big loop without too many calls, because they play essentially at the same level of a static compiler
<simpson> Yeah, totally.
Dejan has quit [Quit: Leaving]
tos9 has quit [Quit: leaving]
tsaka__ has joined #pypy
gef has joined #pypy
tos9 has joined #pypy
tos9 has quit [Client Quit]
tsaka__ has quit [Ping timeout: 260 seconds]
gef has quit [Ping timeout: 240 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 260 seconds]
Gustavo6046 has quit [Ping timeout: 250 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
Gustavo6046 has joined #pypy
otisolsen70 has quit [Quit: Leaving]
tos9 has joined #pypy
gef has joined #pypy
gef has quit [Ping timeout: 246 seconds]
tos9 has quit [Quit: leaving]
iko_ has quit [Ping timeout: 240 seconds]
gef has joined #pypy
tos9 has joined #pypy
tos9 has quit [Client Quit]
isidentical has quit [Quit: isidentical]