cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
oberstet has quit [Ping timeout: 265 seconds]
wleslie has quit [Quit: ~~~ Crash in JIT!]
zmt00 has quit [Read error: Connection reset by peer]
zmt00 has joined #pypy
raynold has joined #pypy
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
speeder39 has quit [Quit: Connection closed for inactivity]
dddddd has quit [Remote host closed the connection]
mattip has quit [Ping timeout: 260 seconds]
<njs> lesshaste: I responded on the PR (which I guess you probably saw already, but just in case, or in case anyone is kibbitzing :-))
mattip has joined #pypy
lritter has quit [Ping timeout: 248 seconds]
ssbr has quit [Ping timeout: 276 seconds]
ssbr has joined #pypy
adamholmberg has quit [Remote host closed the connection]
mattip has quit [Quit: bye]
jcea has quit [Quit: jcea]
speeder39 has joined #pypy
jamesaxl has quit [Quit: WeeChat 2.1]
dan- has quit [Ping timeout: 256 seconds]
adamholmberg has joined #pypy
ceridwen has quit [Ping timeout: 240 seconds]
ceridwen has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
inhahe_ has joined #pypy
inhahe__ has quit [Ping timeout: 264 seconds]
speeder39 has quit [Quit: Connection closed for inactivity]
energizer is now known as energizer_
energizer_ is now known as energizer
energizer is now known as energize
energize is now known as energizer123
energizer123 is now known as energizer
<lesshaste> njs, yes I did. Thanks!
<lesshaste> njs, although now I have to google kibbitz
dan- has joined #pypy
dan- has joined #pypy
dan- has quit [Changing host]
dddddd has joined #pypy
energizer is now known as energizer_
commandoline has quit [Ping timeout: 248 seconds]
energizer_ is now known as energizer
commandoline has joined #pypy
commandoline has quit [Ping timeout: 265 seconds]
commandoline has joined #pypy
antocuni has joined #pypy
antocuni_ has joined #pypy
mcyprian has joined #pypy
antocuni has quit [Ping timeout: 265 seconds]
antocuni_ has quit [Ping timeout: 264 seconds]
irclogs_io_bot has quit [Remote host closed the connection]
lesshaste has quit [Quit: Leaving]
irclogs_io_bot has joined #pypy
jcea has joined #pypy
commandoline has quit [Ping timeout: 256 seconds]
commandoline has joined #pypy
commandoline has quit [Ping timeout: 264 seconds]
commandoline has joined #pypy
commandoline has quit [Ping timeout: 260 seconds]
commandoline has joined #pypy
commandoline has quit [Ping timeout: 260 seconds]
antocuni_ has joined #pypy
commandoline has joined #pypy
mcyprian has quit [Ping timeout: 240 seconds]
antocuni_ is now known as antocuni
mcyprian has joined #pypy
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
infinite has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
infinite has joined #pypy
eric97477 has joined #pypy
rubdos has quit [Ping timeout: 256 seconds]
rubdos_ has joined #pypy
inhahe has quit [Ping timeout: 245 seconds]
inhahe has joined #pypy
Rhy0lite has joined #pypy
mcyprian has quit [Ping timeout: 276 seconds]
mcyprian has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
oberstet has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 264 seconds]
adamholmberg has joined #pypy
eric97477 has quit [Quit: Leaving...]
raynold has quit [Quit: Connection closed for inactivity]
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
lritter has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
bbot2 has quit [Ping timeout: 240 seconds]
bbot2 has joined #pypy
eric97477 has joined #pypy
antocuni has quit [Ping timeout: 255 seconds]
<eric97477> I've got a simple CFFI question.
<eric97477> Let's say I have a c function that looks like this:
<eric97477> uint8_t* get_array( int value, uint64_t* outLen )
<eric97477> {
<eric97477> *outLen = 80;
<eric97477>
<eric97477> This code will run without crashing or throwing an exception, but data does not contain
<eric97477> my array of values.
<eric97477> I am guessing there is a much better way to pass in and get the value of length.
<eric97477> How do I obtain the data from dataBytes?
marky1991 has quit [Ping timeout: 264 seconds]
jamesaxl has joined #pypy
<eric97477> so, stumbling around a bit, it looks like: data = bytearray( length ); ffi.memmove( data, dataBytes, length ); works. Is there a better way of doing this?
<kenaan> wlav cppyy-packaging a1135702ca77 /pypy/module/_cppyy/: first stab at transparent smart pointer support and improved templated methods
<kenaan> wlav cppyy-packaging fba8c8e53f31 /pypy/module/_cppyy/converter.py: more smart pointer support
<kenaan> wlav cppyy-packaging 83daee4823bc /pypy/module/_cppyy/test/datatypes.cxx: fix memory leak in test
<kenaan> wlav cppyy-packaging 3fd316125c15 /pypy/module/_cppyy/test/: add pythonization tests
<kenaan> wlav cppyy-packaging bf4f9f2a4234 /pypy/module/_cppyy/: finish pythonization of smart pointers
<kenaan> wlav cppyy-packaging 264a0794b659 /pypy/module/_cppyy/: reduce layers in method dispatch for simplicity, performance, and support of templated methods (this require...
sthalik has joined #pypy
Gonsor has joined #pypy
sthalik has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
tbodt has joined #pypy
antocuni has joined #pypy
antocuni has quit [Ping timeout: 264 seconds]
Rhy0lite has quit [Quit: Leaving]
marky1991 has quit [Ping timeout: 260 seconds]
<tos9> I ran vmprof for 120 seconds, and then ran vmprofshow, and get a warning "WARNING: The profiling completed in less than 1 seconds. Please run your programs longer!"
<tos9> Is vmprofshow confusing itself and thinking its own runtime is the runtime of my profiling
<tos9> The numbers look probably believable, and the file is 52 MB
marself has quit [Ping timeout: 240 seconds]
marself has joined #pypy
sthalik has joined #pypy
ssbr has quit [Ping timeout: 265 seconds]
ssbr has joined #pypy
<idnar> is https://pypy.org/ meant to work? the cert is invalid for that name at the moment
tianon has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
<_aegis_> eric97477: val = ffi.new('uint64_t *'), call(val), val[0]
<_aegis_> then I use ffi.buffer(dataBytes, length[0])
exarkun has quit [Read error: Connection reset by peer]
adamholmberg has quit [Remote host closed the connection]
ssbr has quit [Ping timeout: 276 seconds]
exarkun has joined #pypy
ssbr has joined #pypy
mattip has joined #pypy
kenaan has quit [Ping timeout: 240 seconds]
antocuni has joined #pypy
raynold has joined #pypy
Gonsor has quit [Read error: Connection reset by peer]
ssbr has quit [Ping timeout: 276 seconds]
ssbr has joined #pypy
string__ has joined #pypy
kenaan has joined #pypy
<kenaan> wlav cppyy-packaging 9820fab951d5 /pypy/module/_cppyy/: bring the dummy backend for testing up-to-date
exarkun has quit [Read error: Connection reset by peer]
exarkun has joined #pypy
dddddd has quit [Remote host closed the connection]