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: 240 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 252 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: 252 seconds]
jcea has quit [Ping timeout: 250 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 260 seconds]
gef has joined #pypy
proteusguy has quit [Remote host closed the connection]
gef has quit [Ping timeout: 240 seconds]
gef has joined #pypy
oberstet has quit [Remote host closed the connection]
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
<cfbolz> Bit worried by the label of their numbers: cinder_jit_noframe
<cfbolz> Ie they cheat?
gef has joined #pypy
<mattip> the "static python" seems like where the typing effort will eventually end up
<mattip> locally, when testing win64 on numpy, something strange.
<mattip> int_val = 2 ** 1024; for i in range(1000): np.longdouble(int_val)
<mattip> correctly returns "inf" for the first 750 iterations, but then returns "0"
<mattip> the code path dives into C, converts int_val into bytes and calls out to cpyext for PyOS_string_to_double()
<mattip> PyOS_string_to_double is marked as jit.dont_look_inside
<mattip> it is definitely some interaction with the JIT, when running with pypy --jit off the problem does not appear
<mattip> bleh
<cfbolz> mattip: ouch
<cfbolz> mattip: on Linux 64 it's fine?
<mattip> linux64 uses a different code path and does not hit PyOS_string_to_double, so maybe one thing to try is to test that function on linux64
<mattip> another strange windows (maybe JIT?) problem: when running the whole numpy test suite at some point it segfaults
<mattip> but rerunning just that test passes
* mattip rerunning the whole suite with "--jit off"
gef has quit [Ping timeout: 240 seconds]
<mattip> the PyOS_string_to_double seems tricky, if I add a printf of the return value just after the call (in C), the problem disappears
gef has joined #pypy
todda7 has joined #pypy
<cfbolz> mattip: hm, do you want to send me the PYPYLOG=jit:out output?
<cfbolz> From win?
<mattip> let me try
todda7 has quit [Ping timeout: 240 seconds]
<mattip> and poof: I can no longer recreate the problem
<cfbolz> mattip: ppfff
<mattip> it reminds me of my attempts to get windconsoleio working: after a few hundred syscalls, something messed up
gef has quit [Ping timeout: 240 seconds]
gef has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6372 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7659 [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/5562 [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/234 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1498 [mattip: Forced by command line script, release-pypy3.7-v7.x]
isidentical has joined #pypy
<cfbolz> Unrelated, but this is very cool: https://ftfy.readthedocs.io/en/latest/
oberstet has joined #pypy
gef has quit [Ping timeout: 240 seconds]
<mattip> When I see mojobake I feel like I do when reading pascal code: I learned all that once and am happy to forget it.
<mattip> mojibake
jacob22 has quit [Quit: Konversation terminated!]
jacob22 has joined #pypy
<antocuni> at first I read "fixes TESTS for you". This would be even cooler :)
<LarstiQ> antocuni: there is http://thatsabug.com/assets/images/gentle_intro_mutation/html3.png which _breaks_ tests for you ;)
<antocuni> wow
<LarstiQ> as a more sophisticated measure of coverage than lines executed
gef has joined #pypy
<antocuni> yes, I'm reading the original blog post (http://thatsabug.com//blog/gentle_intro_mutation_testing/)
<antocuni> it's an interesting area
<cfbolz> there is a python versfion
<cfbolz> been meaning to try it
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/989 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7659 [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/6372 [mattip: Forced by command line script, release-pypy3.7-v7.x]
glyph has quit [Read error: Connection reset by peer]
glyph has joined #pypy
Gustavo6046 has quit [Ping timeout: 260 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1498 [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/5562 [mattip: Forced by command line script, release-pypy3.7-v7.x]
jacob22 has quit [Quit: Konversation terminated!]
jacob22 has joined #pypy
<bbot2> Retry: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/234 [mattip: Forced by command line script, release-pypy3.7-v7.x]
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
<mattip> in the hacker news discussion about cinder there is a comment about PyPy "we really tried, six month project just to get it to run out codebase ..."
<mattip> I wonder whether it didn't run, or ran and didn't show improvement
<cfbolz> mattip: yeah, saw that too
<cfbolz> want me to try and find out?
<cfbolz> mattip: all in all I'm not too impressed though. this "throw over the wall" approach with lots of language changes, not sure it will get picked up
<cfbolz> I really don't get these big companies that really depend on python. somehow it should be strategically important for them to improve cpython/the ecosystem. they have the cash! but even the very biggest ones do very little for the core VM (few exceptions exist of course, MS, Red Hat?)
gef has quit [Ping timeout: 252 seconds]
Dejan has joined #pypy
Dejan has joined #pypy
Dejan has quit [Changing host]
lritter_ has joined #pypy
<mattip> Microsoft and Google are now "Visionary Sponsors", and the PSF is investing in hiring here and there
<mattip> and there are people who get eqivalent time to contribute, like vstinner and others
lritter_ has quit [Remote host closed the connection]
<mattip> cfbolz: any thoughts about the jit-instance-ptr-eq-improvements branch? It would be a shame to let it get stale
<mattip> and py3.7-newtext-const-arg-caching looks promising too
<cfbolz> mattip: sorry, yeah, I'm a bit distracted with teaching
infernix has quit [Ping timeout: 248 seconds]
<mattip> ahh, cool. I didn't realize you are back to teaching
<cfbolz> mattip: both are "ready", instance-ptr-eq had a relatively good test run
gef has joined #pypy
<cfbolz> I fixed the test_pypy_c one
<mattip> +1
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6373 [mattip: force build, jit-instance-ptr-eq-improvements]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7660 [mattip: force build, jit-instance-ptr-eq-improvements]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8680 [mattip: force build, jit-instance-ptr-eq-improvements]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7525 [mattip: force build, jit-instance-ptr-eq-improvements]
<mattip> let's see :)
<bbot2> Started: http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/3281 [mattip: force build, py3.7-newtext-const-arg-caching]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/235 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<Dejan> https://dqlite.io/ why nobody told me about this :D
<cfbolz> mattip: thanks for looking.
<cfbolz> mattip: newtext gives ~5% on some interpreter only benchmarks
<cfbolz> and sorry, as usual I am better at starting things than at finishing them ;-)
infernix has joined #pypy
gef_ has joined #pypy
gef has quit [Ping timeout: 265 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8680 [mattip: force build, jit-instance-ptr-eq-improvements]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7525 [mattip: force build, jit-instance-ptr-eq-improvements]
gef has joined #pypy
gef_ has quit [Ping timeout: 246 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7660 [mattip: force build, jit-instance-ptr-eq-improvements]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6373 [mattip: force build, jit-instance-ptr-eq-improvements]
proteusguy has joined #pypy
jcea has joined #pypy
<cfbolz> mattip: hm, the test_verify1 is weird
jcea has quit [Ping timeout: 250 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/235 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<mattip> something about guard values and registers
<mattip> is there such a thing as too many guards?
<cfbolz> mattip: where do you see something about guard values?
<mattip> in the 32-bit stdout
<cfbolz> ugh, even weirder 😅
<mattip> the cinder guy answered on the link from above: they tried it a few years ago
<mattip> hmm, jitting + threading means new jit code for each thread, which eats memory
<cfbolz> mattip: ouch, really? the machine code should be sahred
<cfbolz> shared
<cfbolz> of course test_verify passes locally
<mattip> the comments about their experience seem to be second hand
<cfbolz> yeah
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6374 [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/7661 [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/5563 [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/236 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1499 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/989 [mattip: Forced by command line script, release-pypy3.7-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/3281 [mattip: force build, py3.7-newtext-const-arg-caching]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/990 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7661 [mattip: Forced by command line script, release-pypy2.7-v7.x]
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6374 [mattip: Forced by command line script, release-pypy2.7-v7.x]
isidentical has quit [Quit: isidentical]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1499 [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/5563 [mattip: Forced by command line script, release-pypy2.7-v7.x]
Gustavo6046 has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/236 [mattip: Forced by command line script, release-pypy2.7-v7.x]
Gustavo6046_ has joined #pypy
Gustavo6046 has quit [Ping timeout: 260 seconds]
muke has joined #pypy
<muke> Hey cfbolz, I'm having some trouble with the test for the linear float loop - the IR compiles and executes but only seems to return it's argument, but I can't see any reason that would be from looking at the IR
Gustavo6046_ is now known as Gustavo6046
<muke> the IR, for reference: https://pastebin.com/N0yuqJpp
<muke> everything else is the same as with the regular linear loop, is there anything that comes to mind as to why floats would be different here?
oberstet has quit [Quit: Leaving]
isidentical has joined #pypy
jcea has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/990 [mattip: Forced by command line script, release-pypy2.7-v7.x]
todda7 has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7662 [ronan: force build, hpy-0.0.2]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8681 [ronan: force build, hpy-0.0.2]
<krono> hey, all
<krono> say I want hg-up my repo to the commit of the latest py2.7 release, which would that be/
<krono> ah, got it
<krono> sorry
Gustavo6046 has quit [Ping timeout: 240 seconds]
Gustavo6046 has joined #pypy
gef has quit [Ping timeout: 240 seconds]
gef has joined #pypy
muke has quit [Remote host closed the connection]
isidentical has quit [Remote host closed the connection]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8681 [ronan: force build, hpy-0.0.2]
muke has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7662 [ronan: force build, hpy-0.0.2]
<cfbolz> muke: sorry, not around this evening, will try to look tomorrow
<muke> no worries, there's no rush for this
isidentical has joined #pypy
dnshane has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dnshane has joined #pypy
jcea1 has joined #pypy
jcea has quit [Quit: jcea]
jcea1 is now known as jcea
jcea has quit [Quit: jcea]
muke has quit [Quit: Leaving]
jcea has joined #pypy
isidentical has quit [Quit: isidentical]
Gustavo6046 has quit [Ping timeout: 250 seconds]
Gustavo6046 has joined #pypy
nulano has quit [Quit: ZNC - http://znc.in]