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)"
barrywhart has quit [Remote host closed the connection]
barrywhart has joined #pypy
tbodt has joined #pypy
barrywhart has quit [Ping timeout: 265 seconds]
jcea has joined #pypy
barrywhart has joined #pypy
barrywhart has quit [Remote host closed the connection]
barrywhart has joined #pypy
barrywhart has quit [Ping timeout: 265 seconds]
marr has quit [Ping timeout: 240 seconds]
barrywhart has joined #pypy
yuyichao has quit [Ping timeout: 248 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
barrywhart has quit [Remote host closed the connection]
yuyichao has joined #pypy
jcea has quit [Quit: jcea]
barrywhart has joined #pypy
barrywhart has quit [Client Quit]
forgottenone has joined #pypy
exarkun has quit [Read error: Connection reset by peer]
exarkun has joined #pypy
ceridwen has joined #pypy
ceridwen has quit [Changing host]
ceridwen has joined #pypy
ArneBab has joined #pypy
ArneBab_ has quit [Ping timeout: 264 seconds]
jtl__ has joined #pypy
pilne has quit [Quit: Quitting!]
aboudreault has quit [Excess Flood]
dddddd has quit [Remote host closed the connection]
aboudreault has joined #pypy
jtl__ has quit [Quit: jtl__]
jtl_ has joined #pypy
abrown has joined #pypy
<abrown> I have an RPython interpreter that writes log files when I run `PYPYLOG=jit:my-log my-interpreter my-complex-program` but only writes empty files when I run the same thing with a simple program; what could cause this?
<simpson> abrown: The JIT never traces, so no JIT logs are ever written because the logger's never called.
<abrown> I am relatively confident that both programs will hit the jit_merge_point because they both use the same 'while' term
<simpson> Sure, but the JIT only kicks in after the same loop is visited many times. By default, it's a little over 1000 times.
<abrown> Under what conditions would the JIT not trace? In the complex program I hit the 'while' term 1000+ times and in the simple program I hit it 1000000+ times...
<abrown> (the simple program is a while loop that increments an accumulator variable a million times or something)
<simpson> Hm. Not sure then. Check your greens, I guess.
<abrown> Looking at http://rpython.readthedocs.io/en/latest/jit/pyjitpl5.html for example, the code object and IP are greens; these are things that do not change from one loop iteration to the next, right?
<abrown> But what do we mean by "change"? Is it a reference check or does RPython somehow know if an object has been mutated?
<simpson> Greens should, IMO, be either primitives like ints or references to objects which are `_immutable_ = True`.
<simpson> The idea is "the same point in user-level code". So the user-level code object is gonna be an immutable green.
<abrown> My 'while' term is immutable except that it has a couple of mutable fields that cache some stuff... the reference does not change between loop iterations but I avoid some work by saving some stuff on those mutable fields
<abrown> I think I made them quasi-immutable because once they are changed they don't really change again
jtl_ has quit [Quit: jtl_]
<abrown> Even if the fields were mutable (and not declared quasi-immutable), I am guessing that RPython just checks that the object address has not changed and has no way of knowing if the internal fields have changed--is this correct?
<abrown> simpson, thanks; ttyl
abrown has quit [Quit: Leaving]
tayfun26 has joined #pypy
oberstet has joined #pypy
redj_ has joined #pypy
redj has quit [Ping timeout: 252 seconds]
marky1991 has quit [Ping timeout: 272 seconds]
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
marr has joined #pypy
ColdHeat has left #pypy ["Textual IRC Client: www.textualapp.com"]
nunatak has joined #pypy
antocuni has joined #pypy
rubdos has quit [Quit: Leaving]
rubdos has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
amaury has joined #pypy
jacob22 has quit [Ping timeout: 264 seconds]
TheAdversary has quit [Ping timeout: 248 seconds]
Hasimir has quit [Ping timeout: 248 seconds]
TheAdversary has joined #pypy
amaury has quit [Quit: Konversation terminated!]
amaury has joined #pypy
dddddd has joined #pypy
Kronuz has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
<nedbat> The PSF tweeted about the 5.10 release. pypy3 5.10 runs on my Sierra mac, but pypy2 5.10 does not. Should we expect another binary?
<nedbat> pypy3 has two binaries, pypy2 only has one, on the download page.
Kronuz has joined #pypy
exarkun has quit [Read error: Connection reset by peer]
amaury has quit [Quit: Konversation terminated!]
exarkun has joined #pypy
antocuni has joined #pypy
Rhy0lite has joined #pypy
<LarstiQ> nedbat: is it because of homebrew ssl?
<nedbat> LarstiQ: dyld: Library not loaded: /usr/local/opt/ncurses/lib/libncursesw.6.dylib
<LarstiQ> nedbat: ah hmm, similarish. What are the two pypy3 binaries?
<nedbat> LarstiQ: they are on the download page
* LarstiQ doesn't have a browser atm
dddddd has quit [Ping timeout: 248 seconds]
dddddd has joined #pypy
dddddd has quit [Ping timeout: 240 seconds]
dddddd has joined #pypy
amaury has joined #pypy
marr has quit [Ping timeout: 256 seconds]
nunatak has quit [Quit: Leaving]
dowwie has left #pypy ["I've got to return some videotapes.."]
adamholmberg has joined #pypy
oberstet has quit [Ping timeout: 263 seconds]
marky1991 has joined #pypy
Allen_ has quit [Quit: Page closed]
jaffachief has joined #pypy
marky1991 has quit [Ping timeout: 264 seconds]
marky1991 has joined #pypy
marr has joined #pypy
tayfun26 has quit [Quit: tayfun26]
kolko has joined #pypy
Hasimir has joined #pypy
rubdos_ has joined #pypy
marky1991 has quit [Remote host closed the connection]
raynold has quit [Quit: Connection closed for inactivity]
marky1991 has joined #pypy
jtl_ has joined #pypy
redj_ is now known as redj
yuyichao has quit [Ping timeout: 256 seconds]
yuyichao has joined #pypy
jamesaxl has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
exarkun has quit [Ping timeout: 248 seconds]
oberstet has joined #pypy
exarkun has joined #pypy
dcrosta has joined #pypy
jtl_ has quit [Remote host closed the connection]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
jaffachief has quit [Quit: Connection closed for inactivity]
antocuni has quit [Ping timeout: 255 seconds]
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 265 seconds]
inhahe_ has quit [Ping timeout: 268 seconds]
inhahe_ has joined #pypy
<kenaan> arigo default 05955e010535 /rpython/rlib/rthread.py: Invent a dummy thread id, if we ask for one during translation and we're running a host with no threads
ronan has quit [Ping timeout: 255 seconds]
nunatak has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Read error: No route to host]
adamholmberg has joined #pypy
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 248 seconds]
dcrosta has joined #pypy
tbodt has joined #pypy
Rhy0lite has quit [Quit: Leaving]
dmalcolm_ has quit [Remote host closed the connection]
raynold has joined #pypy
marky1991 has joined #pypy
pilne has joined #pypy
dmalcolm has joined #pypy
mattip has joined #pypy
trfl has quit [Quit: ZNC - http://znc.in]
trfl has joined #pypy
antocuni has joined #pypy
forgottenone has quit [Remote host closed the connection]
marr has joined #pypy
amaury has quit [Ping timeout: 255 seconds]
jaffachief has joined #pypy
nunatak has quit [Quit: Leaving]
ronan has joined #pypy
ronan has quit [Ping timeout: 255 seconds]
amaury has joined #pypy
amaury has quit [Client Quit]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amaury has joined #pypy
Hasimir has quit [Read error: Connection reset by peer]
Hasimir has joined #pypy
amaury_ has joined #pypy
amaury has quit [Ping timeout: 248 seconds]
amaury_ is now known as amaury
ssbr` has quit [Ping timeout: 265 seconds]
jamesaxl has quit [Quit: WeeChat 1.9.1]
awkwardpenguin has joined #pypy
ssbr` has joined #pypy
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kenaan> amauryfa default 28aa6e61df25 /pypy/module/parser/: First stab at parser.tuple2st()
<kenaan> amauryfa default 749063799a58 /pypy/module/parser/: parser.sequence2st: add validation of the passed tuple. Do it the 2016 way, by walking the grammar DFA, instead ...
jaffachief has quit [Quit: Connection closed for inactivity]
awkwardpenguin has quit [Ping timeout: 252 seconds]
<kenaan> amauryfa py3.6 f6a0b040703c /: Add BLAKE2 (blake2b and blake2s) to hashlib.
<kenaan> amauryfa py3.6 88331f108204 /: Add sha3 (aka. Keccak) hashes to hashlib.
<kenaan> amauryfa py3.6 6190ca28a930 /pypy/module/math/: Add math.tau
<kenaan> amauryfa py3.6 c123301c02cc /pypy/interpreter/pyparser/: Attempt to parse numbers with underscores
<kenaan> amauryfa py3.6 23240e4a895f /rpython/rlib/: Add an option to allow underscores in integer literals. RPython part.
<kenaan> amauryfa py3.6 ff9805f6a687 /pypy/objspace/std/intobject.py: Allow undescores in int() literals.
<kenaan> amauryfa default 0d3c3f5e2bdb /rpython/rlib/: Add an option to allow underscores in integer literals. RPython part.
oberstet has quit [Ping timeout: 240 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 248 seconds]
tormoz has quit [Remote host closed the connection]
yuyichao has quit [Ping timeout: 256 seconds]