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)"
xqb` has joined #pypy
xqb has quit [Remote host closed the connection]
ciphergoth has quit [Ping timeout: 260 seconds]
inhahe has joined #pypy
inhahe_ has quit [Ping timeout: 256 seconds]
lritter_ has joined #pypy
tbodt has joined #pypy
lritter has quit [Ping timeout: 240 seconds]
xqb` has quit [Remote host closed the connection]
xqb`` has joined #pypy
ciphergoth has joined #pypy
tbodt has quit [Ping timeout: 256 seconds]
Taggnostr has quit [Read error: Connection reset by peer]
antocuni has joined #pypy
Joghurt has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
xqb`` has quit [Remote host closed the connection]
xqb`` has joined #pypy
marr has quit [Ping timeout: 264 seconds]
Hotpot33 has quit [Ping timeout: 240 seconds]
speeder39 has joined #pypy
lritter_ has quit [Quit: Leaving]
Taggnostr has joined #pypy
Hotpot33 has joined #pypy
ciphergoth has quit [Ping timeout: 268 seconds]
Hotpot33 has quit [Ping timeout: 260 seconds]
Hotpot33 has joined #pypy
ciphergoth has joined #pypy
ArneBab_ has joined #pypy
ciphergoth has quit [Ping timeout: 240 seconds]
ArneBab has quit [Ping timeout: 248 seconds]
jcea has quit [Quit: jcea]
redj has quit [Ping timeout: 268 seconds]
forgottenone has joined #pypy
Joghurt_ has joined #pypy
Joghurt has quit [Ping timeout: 240 seconds]
_whitelogger has joined #pypy
xqb`` is now known as xqb
tav` has joined #pypy
tav has quit [Ping timeout: 240 seconds]
tav` is now known as tav
ciphergoth has joined #pypy
ciphergoth has quit [Ping timeout: 240 seconds]
zmt00 has quit [Read error: Connection reset by peer]
zmt00 has joined #pypy
dddddd has quit [Quit: Hasta otra..]
ciphergoth has joined #pypy
Hotpot33 has quit [Ping timeout: 248 seconds]
ciphergoth has quit [Ping timeout: 256 seconds]
speeder39 has quit [Quit: Connection closed for inactivity]
Ulfalizer has quit []
amaury_ has joined #pypy
amaury_ has quit [Ping timeout: 260 seconds]
inhahe has quit [Ping timeout: 240 seconds]
inhahe has joined #pypy
marr has joined #pypy
Joghurt_ has quit [Quit: Leaving]
antocuni has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
amaury_ has joined #pypy
yuyichao_ has quit [Ping timeout: 240 seconds]
redj has joined #pypy
oberstet has joined #pypy
amaury_ has quit [Ping timeout: 240 seconds]
kolko has joined #pypy
mvantellingen has quit [Ping timeout: 240 seconds]
jcea has joined #pypy
mvantellingen has joined #pypy
mvantellingen has quit [Client Quit]
mvantellingen has joined #pypy
inhahe has quit [Ping timeout: 256 seconds]
inhahe has joined #pypy
_whitelogger has joined #pypy
mvantellingen has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
inhahe has quit [Ping timeout: 240 seconds]
inhahe has joined #pypy
marr has quit [Read error: Connection reset by peer]
marr has joined #pypy
ciphergoth has joined #pypy
xqb has quit [Remote host closed the connection]
xqb has joined #pypy
amaury_ has joined #pypy
dddddd has joined #pypy
Hotpot33 has joined #pypy
amaury__ has joined #pypy
Hotpot33 has quit [Ping timeout: 240 seconds]
amaury_ has quit [Ping timeout: 256 seconds]
Hotpot33 has joined #pypy
amaury__ has quit [Quit: Konversation terminated!]
amaury__ has joined #pypy
tbodt has joined #pypy
ciphergoth has quit [Ping timeout: 240 seconds]
forgottenone has quit [Read error: Connection reset by peer]
amaury__ has quit [Quit: Konversation terminated!]
slacky has joined #pypy
jamesaxl has joined #pypy
ciphergoth has joined #pypy
ciphergoth has quit [Ping timeout: 248 seconds]
ciphergoth has joined #pypy
ciphergoth has quit [Ping timeout: 248 seconds]
ciphergoth has joined #pypy
yuyichao_ has joined #pypy
mattip has joined #pypy
forgottenone has joined #pypy
ciphergoth has quit [Read error: Connection reset by peer]
xqb has quit [Remote host closed the connection]
xqb has joined #pypy
mvantellingen has joined #pypy
amaury__ has joined #pypy
amaury__ is now known as amaury
amaury_ has joined #pypy
amaury has quit [Ping timeout: 260 seconds]
forgottenone has quit [Quit: Konversation terminated!]
raynold has quit [Quit: Connection closed for inactivity]
<kenaan_> mattip benchmarks 027bdeb94275 /benchmarks.py: bm_mdp is on the edge of timing out
inhahe has quit [Ping timeout: 256 seconds]
inhahe has joined #pypy
slacky has quit [Quit: Leaving]
sh4rm4^bnc has joined #pypy
<sh4rm4^bnc> i've just finished reading https://morepypy.blogspot.com/2011/04/tutorial-writing-interpreter-with-pypy.html . is tehre a way to get the intermediate C code pypy produces, rather than a binary ? (so i could ship a tarball of the C sources of my interpreter)
<sh4rm4^bnc> also, this tutorial is not really satisfying, it basically only demonstrates how to translate a python program into rpython... there's nothing in it showing how to use garbage collector, or tips how to parse the input file etc. is tehre a better tutorial somewhere ?
<simpson> sh4rm4^bnc: The generated source depends on details of the machine which is doing the building; it's not platform-independent.
<sh4rm4^bnc> oh :(
<simpson> The garbage collector is free; it's added for you automatically.
<simpson> Parsing is up to you. There are a few parser libraries with RPython, or you can roll your own.
<sh4rm4^bnc> i suppose compiling a couple of C files would be much quicker (and take less than 4 GB RAM(!)) than to run the rypthon translator
<simpson> I have heard people talk about RPLY, but I haven't used it: https://rply.readthedocs.io/en/latest/
<sh4rm4^bnc> what parsers are you using ? i heard "PEG" parsers are trendy these days
<simpson> The language I work on, Monte, has a self-hosting hand-written parser.
<simpson> PEGs are very trendy.
<sh4rm4^bnc> i've tried to wrap my head around lex/yacc a couple of times, but failed miserably
<sh4rm4^bnc> i guess i should have said "yywrapped my head"
<simpson> yacc is terrible.
<simpson> Anyway, an overview of what's in rlib starts here and continues down the page: http://rpython.readthedocs.io/en/latest/rlib.html#rsre
mattip has left #pypy ["Leaving"]
<dddddd> sh4rm4^bnc, in my (little) experience, 4G are not needed for every rpython program.
<sh4rm4^bnc> OK, but i still would prefer to ship a couple of C files to my users, than having them install pypy and requiring a quite big amount of memory
<dddddd> IIRC I compiled mine on a pentium IV with 512M. Fair enough about install pypy-
amaury_ has quit [Quit: Konversation terminated!]
<sh4rm4^bnc> how long did it take ?
<simpson> sh4rm4^bnc: I'm not saying that it's impossible, but it's not something that RPython's tuned for.
raynold has joined #pypy
<dddddd> It took a while, maybe 40 minutes or so (if my memory serves)
<dddddd> with lower -O times were drastically lower, of course
<sh4rm4^bnc> btw does topaz (ruby impl on rpython) use a big interpreter lock (i.e. make multi-threaded coding a joke) ?
<simpson> I'm not sure whether threads need any help to be considered a joke~
<Alex_Gaynor> I don't think we ever implemented threads in topaz
<sh4rm4^bnc> :o
<simpson> RPython-generated JITs have a GIL protecting the JIT and GC core data structures. Some exploratory work for fixing that has been done, but there hasn't been much interest and AIUI not much funding.
<sh4rm4^bnc> i see
<sh4rm4^bnc> the lack of scripting langs supporting proper multithreading is actually why i consider writing my own..
kipras is now known as kipras`away
inhahe has quit [Ping timeout: 264 seconds]
inhahe has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 248 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
oberstet has quit [Quit: Leaving]