arigato 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 | mac OS and Fedora are not Windows
[Arfrever] has quit [Quit: leaving]
[Arfrever] has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
adamholmberg has joined #pypy
shodan45 has quit [Quit: No Ping reply in 180 seconds.]
shodan45 has joined #pypy
adamholmberg has quit [Ping timeout: 258 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
jcea has quit [Quit: jcea]
forgottenone has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 258 seconds]
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
Ai9zO5AP has joined #pypy
tsaka__ has joined #pypy
dddddd has joined #pypy
antocuni has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
msjyoo has quit [Ping timeout: 258 seconds]
JStoker has quit [Ping timeout: 258 seconds]
mjacob has quit [Ping timeout: 258 seconds]
mjacob has joined #pypy
msjyoo has joined #pypy
JStoker has joined #pypy
jcea has joined #pypy
antocuni has quit [Ping timeout: 246 seconds]
marky1991 has joined #pypy
antocuni has joined #pypy
adamholmberg has joined #pypy
nimaje has quit [Read error: Connection reset by peer]
nimaje has joined #pypy
Rhy0lite has joined #pypy
<arigato> catern: you can generally use the cffi object without the [0]
<arigato> if it is of ctype "foo" or "foo *", you can use ".field" on either
<arigato> in fact, the reason for "ffi.new('foo *')[0]" to give a CData that is still owner is obscure
forgottenone has joined #pypy
<arigato> ...OK, sorry, seems I'm wrong
<arigato> ffi.from_buffer("struct foo *", ...) doesn't work
Zaab1t has joined #pypy
Zaab1t has quit [Client Quit]
<catern> ah, great! at least I know my use case makes sense :) do you have a guess about how hard it might be to make this work? maybe I could do it? haven't looked at the cffi implementation at all so far
<catern> (or if it's probably difficult I can just wait, it's mostly a convenience feature for me)
<arigato> I'm not sure, I expect it to be reasonable
<arigato> I'll have to look in detail to be sure :-) but basically you or me needs to look again at how "new" is implemented in _cffi_backend.c, and more precisely the special flags it sets that end up making "[0]" return a cdata-owning object
<arigato> the CPython version of cffi tends to use only two or three different C structures for the many kinds of cdata objects, with flags
<arigato> the PyPy version is much cleaner, with proper abstract base classes and subclassing
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<kenaan> rlamy optimizeopt-cleanup 37157d69c7e4 /rpython/jit/metainterp/: move some use_unroll logic out of compile_loop()
<kenaan> rlamy optimizeopt-cleanup 11de4273c126 /rpython/jit/metainterp/: Move use_unroll logic completely out of compile_loop()
<kenaan> rlamy optimizeopt-cleanup db5154f11410 /rpython/jit/metainterp/: Move record_loop_or_bridge() call inside compile_and_attach()
<kenaan> rlamy optimizeopt-cleanup 40e26f9f4337 /rpython/jit/metainterp/: cleanup
<kenaan> rlamy optimizeopt-cleanup ed1d19665ec6 /rpython/jit/metainterp/: Turn History.ends_with_jump into a parameter for compile_trace()
<kenaan> rlamy optimizeopt-cleanup 2853f7476ba2 /rpython/jit/metainterp/: Make optimize_trace() a method of CompileData
marky1991 has quit [Ping timeout: 248 seconds]
forgottenone has quit [Ping timeout: 268 seconds]
xcm has quit [Remote host closed the connection]
andi- has quit [Ping timeout: 250 seconds]
xcm has joined #pypy
marky1991 has joined #pypy
andi- has joined #pypy
andi- has quit [Excess Flood]
andi- has joined #pypy
mattip has joined #pypy
<mattip> something broke translation on win32
adamholm_ has joined #pypy
adamhol__ has joined #pypy
adamholmberg has quit [Read error: Connection reset by peer]
adamholm_ has quit [Ping timeout: 258 seconds]
andi- has quit [Ping timeout: 246 seconds]
rindolf has joined #pypy
<kenaan> rlamy optimizeopt-cleanup 612d770461f7 /rpython/jit/metainterp/: Create Optimizer.optimize_loop() for consistency
<rindolf> hi all
<mattip> rindolf: hi
andi- has joined #pypy
<rindolf> mattip: sup?
forgottenone has joined #pypy
antocuni has quit [Ping timeout: 252 seconds]
marky1991 has quit [Ping timeout: 248 seconds]
marky1991 has joined #pypy
Rhy0lite has quit [Quit: Leaving]
Zaab1t has joined #pypy
Zaab1t has quit [Remote host closed the connection]
forgottenone has quit [Ping timeout: 245 seconds]
<kenaan> rlamy optimizeopt-cleanup 55c98086c509 /rpython/jit/metainterp/: Match class names to their base classes
<kenaan> rlamy optimizeopt-cleanup cfa068539b62 /rpython/jit/metainterp/: Move some methods from OptUnroll to UnrollOptimizer
<kenaan> rlamy optimizeopt-cleanup b4e53e717a3b /rpython/jit/metainterp/: kill unused parameters
xcm has quit [Remote host closed the connection]
<rindolf> mattip: is there a buildbot linux portable build?
xcm has joined #pypy
wallet42 has joined #pypy
<kenaan> rlamy optimizeopt-cleanup ed3e463f7b3f /rpython/jit/metainterp/optimizeopt/optimizer.py: fix
marky1991 has quit [Read error: Connection reset by peer]
Zaab1t has joined #pypy
Zaab1t has quit [Client Quit]
_whitelogger has joined #pypy
commandoline has quit [Ping timeout: 252 seconds]
commandoline has joined #pypy
kipras has joined #pypy
Ai9zO5AP has quit [Quit: WeeChat 2.4]
jcea has quit [Remote host closed the connection]
rindolf has quit [Ping timeout: 246 seconds]
jcea has joined #pypy
kipras has quit [Ping timeout: 252 seconds]
adamhol__ has quit [Remote host closed the connection]
<mattip> rindolf: no
<mattip> it seems we could solve 90% of the portable build problem by moving _ssl on python2.7 to be cffi-based
<mattip> at least the first 90%, leaving us only 90% more to fix
adamholmberg has joined #pypy
dansan_ is now known as dansan