antocuni changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "PyPy: the Gradual Reduction of Magic (tm)"
jamesaxl has quit [Ping timeout: 240 seconds]
yuyichao_ has quit [Ping timeout: 248 seconds]
asmeurer__ has quit [Quit: asmeurer__]
pilne has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jcea has joined #pypy
yuyichao_ has joined #pypy
asmeurer__ has joined #pypy
tbodt has joined #pypy
TheAdversary has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
marky1991 has quit [Read error: Connection reset by peer]
asmeurer_ has joined #pypy
lritter has quit [Ping timeout: 258 seconds]
asmeurer_ has quit [Quit: asmeurer_]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asmeurer_ has joined #pypy
drolando has quit [Quit: Textual IRC Client: www.textualapp.com]
asmeurer_ has quit [Quit: asmeurer_]
marr has quit [Ping timeout: 248 seconds]
asmeurer__ has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
asmeurer_ has joined #pypy
squeaky_pl has quit [Ping timeout: 260 seconds]
asmeurer_ has quit [Quit: asmeurer_]
jcea has quit [Quit: jcea]
asmeurer_ has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
ArneBab has joined #pypy
ArneBab_ has quit [Ping timeout: 240 seconds]
Remi_M has quit [Ping timeout: 248 seconds]
asmeurer_ has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3477 [mattip: test, bsd-patches]
TheAdversary has quit [Ping timeout: 248 seconds]
slackyy has quit [Ping timeout: 258 seconds]
asmeurer_ has quit [Quit: asmeurer_]
forgottenone has joined #pypy
asmeurer_ has joined #pypy
jamesaxl has joined #pypy
zmt01 has joined #pypy
zmt01 has quit [Remote host closed the connection]
zmt00 has quit [Ping timeout: 258 seconds]
asmeurer_ has quit [Quit: asmeurer_]
asmeurer_ has joined #pypy
raynold has quit [Quit: Connection closed for inactivity]
jacob22_ has quit [Quit: Konversation terminated!]
ronan has quit [Ping timeout: 264 seconds]
asmeurer_ has quit [Quit: asmeurer_]
asmeurer_ has joined #pypy
MrBusiness has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
ronan has joined #pypy
<kenaan> mattip default a2348b760a36 /pypy/tool/build_cffi_imports.py: hack the cffi hack to import setuptools on a fresh pypy, gaaaa!
<kenaan> mattip bsd-patches 9112cc43a6cc /: merge default into branch
<kenaan> mattip py3.5 6311c6a24eba /pypy/tool/: merge default into py3.5
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3480 [mattip: force build, bsd-patches]
Remi_M has joined #pypy
asmeurer has joined #pypy
realitix has joined #pypy
realitix has quit [Ping timeout: 240 seconds]
antocuni has joined #pypy
realitix has joined #pypy
nopf has joined #pypy
oberstet has quit [Ping timeout: 260 seconds]
asmeurer has quit [Quit: asmeurer]
oberstet has joined #pypy
squeaky_pl has joined #pypy
marr has joined #pypy
jantje has left #pypy [#pypy]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3480 [mattip: force build, bsd-patches]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3481 [mattip: force build, py3.5]
raynold has joined #pypy
jacob22_ has joined #pypy
cstratak has joined #pypy
tim___ has joined #pypy
tim___ has quit [Client Quit]
tim___ has joined #pypy
tim___ has quit [Client Quit]
tim___ has joined #pypy
tim___ has quit [Client Quit]
<kenaan> fijal canraise-assertionerror 904915e5425e /rpython/translator/backendopt/: branch to experiment with canraise not raising for assertion error
<fijal> ok, that was a rabbit hole....
<cfbolz> fijal: getting somewhere?
<fijal> cfbolz: giving up
<fijal> I dont
<fijal> understand the flow model enough to spend half a day
<cfbolz> :-(
<fijal> *less than
cstratak has quit [Quit: Leaving]
cstratak has joined #pypy
realitix has quit [Read error: Connection reset by peer]
realitix has joined #pypy
<kenaan> antocuni default 84a682f2e00a /pypy/tool/release/: the .debug files don't need to be executable, remove the 'x' bit
<kenaan> antocuni default 060286c2177e /pypy/goal/getnightly.py: make sure to extract also the .debug files from the nightly
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3481 [mattip: force build, py3.5]
antocuni has quit [Ping timeout: 260 seconds]
TheAdversary has joined #pypy
cstratak has quit [Quit: Leaving]
<fijal> how exactly do we avoid allocating exchange buffer in ffi calls?
<fijal> by having it raw malloc virtual?
cstratak has joined #pypy
<fijal> seems so
<arigato> yes
slackyy has joined #pypy
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
<fijal> arigato: advanced
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
yuyichao_ has quit [Quit: Konversation terminated!]
yuyichao has joined #pypy
yuyichao has quit [Client Quit]
yuyichao has joined #pypy
tos9 has quit [Ping timeout: 260 seconds]
tos9 has joined #pypy
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
Rhy0lite has joined #pypy
aboudreault has quit [Excess Flood]
adamholmberg has joined #pypy
aboudreault has joined #pypy
Rhy0lite has quit [Ping timeout: 240 seconds]
Rhy0lite has joined #pypy
aboudreault has quit [Excess Flood]
jcea has joined #pypy
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
magniff has joined #pypy
lritter has joined #pypy
antocuni has joined #pypy
<magniff> sup everyone
<magniff> I have a piece of code right here https://pastebin.com/HT9bXv50
<magniff> it looks like to me, that jit doesnt take into account the fact, that the function is called with the same arg every time
<magniff> meaning that if you chang 20 to variable value the runtime would not be affected much
aboudreault has joined #pypy
<cfbolz> magniff: the call is completely removed
<cfbolz> since you do nothing with the result
<magniff> hmm, it still takes about 1 second to run
<magniff> is it for value in range(blah): pass?
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
aboudreault has quit [Excess Flood]
marky1991 has joined #pypy
<cfbolz> magniff: should be pretty similar, yes
aboudreault has joined #pypy
<magniff> yes, i measured it, it actually is the same
<magniff> rofl guys
aboudreault has quit [Excess Flood]
<fijal> magniff: well, what did you expect?
<fijal> magniff: GCC would throw all your code away ;-)
<magniff> sure
<magniff> but it is not gcc
<cfbolz> yes. it keeps the empty loop
<magniff> speaking of code throwing-away
<magniff> GHC does it even more agressively
aboudreault has joined #pypy
<fijal> magniff: I frankly don't find it too useful, other than for cheating on benchmarks :)
<magniff> @fijal too bad you didnt manage to come to PiterPy this year
<magniff> I have invited you at PyconRu this summer
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
<fijal> yep
<fijal> magniff: I'm in Europe, but a bit on the run
<fijal> (also russian visa is a fucking chore)
<magniff> sure, dude, i am just saying
<antocuni> when is pyconRu?
<fijal> antocuni: was in july
aboudreault has quit [Excess Flood]
<antocuni> going to russia in july sounds better than in november :)
aboudreault has joined #pypy
<magniff> Both me and fijal gave talks on pypy
<antocuni> cool
<magniff> not really to be honest :)
<antocuni> why not?
<magniff> fijal should have get the audience prepared for tech details
<magniff> and at the end it turned out that fijals talk was too softcore and mine too hardcore with gdb, jit bytecode and whatnot)
<antocuni> hardcore talks are the best :)
<magniff> agreed :)
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
tos9 has quit [Ping timeout: 248 seconds]
aboudreault has joined #pypy
Thinh has quit [Quit: Bye!]
Thinh has joined #pypy
aboudreault has quit [Excess Flood]
marky1991 has quit [Ping timeout: 260 seconds]
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
marky1991 has joined #pypy
tos9 has joined #pypy
mattip has joined #pypy
<magniff> Is there any objective comparations of performance for Numba and PyPy?
raynold has quit [Quit: Connection closed for inactivity]
<fijal> magniff: I haven't seen one
<fijal> it's a bit hard to do
aboudreault has quit [Excess Flood]
<magniff> yes, it`s hard in general
<magniff> yet you could try some narrow algorithmic examples
yuyichao has quit [Ping timeout: 264 seconds]
<ionelmc> so if i have a out-of-line binding and i have a wheel for it do i still need to have cffi installed?
exarkun has quit [Read error: Connection reset by peer]
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
<fijal> magniff: so the key is - how do you optimize?
<fijal> I'm sure full-optimized numba is better than full-optimized pypy
<fijal> because they sacrifice some semantics and they have more money
<fijal> how easy it is to go there? that's a very loaded question
<fijal> what's "natural"? does "natural" even make sense?
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
forgottenone has quit [Ping timeout: 248 seconds]
forgottenone has joined #pypy
aboudreault has joined #pypy
<ionelmc> so actually it;s not needed (it just had some `No module named _cffi_backend`) i suspect i had some unclean build issue but what is that module anyway?
aboudreault has quit [Excess Flood]
yuyichao has joined #pypy
aboudreault has joined #pypy
<magniff> @fijal i suspect the difference in performance would depend very much on the actual task, yet even though numba is more tailored for numerical calculations I just got better result on pypy for naiive fibonacci function.
<fijal> naive fib is the worst benchamrk ever :-P
<antocuni> and it's not even particularly good on pypy (the recursive version, at least)
<mattip> in rpython/translator/platform there is one called distutils_platform, it is tested (a little) but never actually used in practice,
<mattip> may I remove it (otherwise it fails on win32 with the dreaded "vcvars not found" error)
<mattip> fails = its own tests fail
forgottenone has quit [Ping timeout: 248 seconds]
exarkun has joined #pypy
forgottenone has joined #pypy
<magniff> okok, on iterative factorial numba seems to be way faster
<magniff> oh, i got it, numba uses native 64 ints
aboudreault has quit [Excess Flood]
<magniff> so yeeee, result is 0
aboudreault has joined #pypy
aboudreault has quit [Changing host]
aboudreault has joined #pypy
zmt00 has joined #pypy
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
<kenaan> mattip default 2177b95b1174 /lib_pypy/: help tests find msv compiler
<kenaan> mattip bsd-patches 5d3a56b266eb /: close branch to be merged
<kenaan> mattip default 959da02fe2dc /: merge bsd-patches which fixes failures on FreeBSD (David Naylor)
<kenaan> mattip default 8ee02499c7fd /pypy/doc/whatsnew-head.rst: document merge branches
antocuni has quit [Ping timeout: 246 seconds]
<ionelmc> fijal: how are the cffi manylinux wheels built?
magniff has quit [Quit: Page closed]
<fijal> ionelmc: no idea
<ionelmc> fijal: aren't you the owner of the pypi entry?
<ionelmc> actually what i wonder is why there's a customized --lib-sdir in the wheel ( i assume someone run auditwheel repair --lib-sdir=.libs_cffi_backend)
<ionelmc> actually nevermind, it makes sense, as it goes in the root of site-packages
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<fijal> ionelmc: am I? ;-)
<kenaan> rlamy run-extra-tests c0b920761a24 /extra_tests/requirements.txt: Add extra_tests/requirements.txt
realitix has quit [Ping timeout: 240 seconds]
<mattip> wierd, the new slave has some "does not raise" failures that passed (raised) two days ago
<mattip> is it the code that changed or the slave?
oberstet has quit [Ping timeout: 240 seconds]
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
mattip has left #pypy ["bye"]
<kenaan> rlamy run-extra-tests 1dc82bde8716 /extra_tests/test_failing.py: Add a failing test
tbodt has joined #pypy
oberstet has joined #pypy
raynold has joined #pypy
forgottenone has joined #pypy
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
forgottenone has quit [Remote host closed the connection]
forgottenone has joined #pypy
zmt00 has quit [Ping timeout: 260 seconds]
zmt01 has joined #pypy
zmt01 has quit [Remote host closed the connection]
cstratak has quit [Quit: Leaving]
adamholm_ has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #pypy
zmt00 has joined #pypy
Rhy0lite has quit [Quit: Leaving]
forgottenone has quit [Quit: Konversation terminated!]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
adamholmberg has quit [Remote host closed the connection]
kipras has quit [Quit: ZNC - http://znc.in]
antocuni has joined #pypy
kipras has joined #pypy
yuyichao_ has joined #pypy
yuyichao has quit [Ping timeout: 258 seconds]
oberstet has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
yuyichao_ has quit [Ping timeout: 240 seconds]