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
Techcable has quit [Remote host closed the connection]
Techcable has joined #pypy
Gustavo6046 has quit [Ping timeout: 272 seconds]
oberstet has quit [Remote host closed the connection]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
Techcable has quit [Ping timeout: 245 seconds]
jcea has quit [Ping timeout: 264 seconds]
Techcable has joined #pypy
Techcable has quit [Remote host closed the connection]
<fijal> arigo: do you have any clue why we pass vmprof information on FRAME as opposed to JITFRAME?
ronan has quit [Ping timeout: 260 seconds]
ronan has joined #pypy
forgottenone has joined #pypy
todda7 has quit [Read error: Connection reset by peer]
todda7 has joined #pypy
todda7 has quit [Ping timeout: 260 seconds]
todda7 has joined #pypy
todda7 has quit [Ping timeout: 260 seconds]
jcea has joined #pypy
_whitelogger has joined #pypy
marvin_ has quit [Remote host closed the connection]
marvin__ has joined #pypy
Dejan_ has joined #pypy
Dejan has quit [Ping timeout: 276 seconds]
Dejan_ has quit [Quit: Leaving]
Dejan has joined #pypy
Dejan has quit [Changing host]
Dejan has joined #pypy
Gustavo6046 has joined #pypy
forgottenone has quit [Remote host closed the connection]
forgottenone has joined #pypy
simpson has quit [*.net *.split]
jneen has quit [*.net *.split]
jneen has joined #pypy
simpson has joined #pypy
<mattip> cfbolz: "pypy's json.dump is much slower than CPython's" - is this the json.dump for the stdlib or one of the "faster" packages?
<mattip> s/for/from/?
<cfbolz> mattip: it's stdlib, I suspect
<cfbolz> now digging into tornado templating, some weird decisions there
<cfbolz> eg they are re-execing the code for every request??!
<mattip> our /lib-python3/json/encoder.py and CPython's have really diverged
<mattip> cfbolz: seems like it to me
<cfbolz> mattip: doesn't cpython also have a C version?
<mattip> yes, I was just wondering how far we are from the C version, and it turns out "quite far" :(
<mattip> s/from the C version/from being able to create a RPython version/
<cfbolz> yeah
<mattip> add json to the list of easy-but-boring work to make PyPy significantly faster for real world tasks
<cfbolz> shovel by shovel ...
rubdos_ has joined #pypy
Techcable has joined #pypy
Techcable has quit [Quit: Leaving]
Techcable has joined #pypy
rubdos_ is now known as rubdos
<cfbolz> just made this plot: https://usercontent.irccloud-cdn.com/file/Lj4GmY0R/image.png (it's a bit flamebait, but thought it was interesting)
<simpson> Interesting. What's the complexity metric? Number of non-terminals, number of productions, etc.? Mostly thinking about cross-language studies.
<cfbolz> xz-compressed size of the grammar file
<simpson> Ha! Delightful. Nice.
<cfbolz> I find the relative syntactic stability from ~2.5 to 3.7 interesting
<mattip> s/interesting/appealing/ :)
<mattip> antocuni, ronan: what would be the easiest way to set the value of Py_.*Flags, which are defined in pythonrun.h
<mattip> as `PyAPI_DATA(int) Py_DebugFlag;`
<mattip> they should reflect the values of sys.* flags from pypy/interpreter/app_main.py
<mattip> I guess we should remove them from the header file and export them from RPython,
<mattip> but I can't find any other constants that are exported from api.py via pypy_decl.h, only functions
<mattip> there is rffi.CExternVariable, maybe we can leave them in the header, and define _setters for each of them
_whitelogger has joined #pypy
lritter has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]