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
jcea has quit [*.net *.split]
andi- has quit [*.net *.split]
infernixx has quit [*.net *.split]
igitoor has quit [*.net *.split]
papangoo[m] has quit [*.net *.split]
altendky has quit [*.net *.split]
nulano has joined #pypy
Techcable has joined #pypy
pjenvey has joined #pypy
DRMacIver has joined #pypy
Taggnostr has joined #pypy
danchr has joined #pypy
jaraco has joined #pypy
jcea has joined #pypy
altendky has joined #pypy
mjacob has joined #pypy
tbodt has joined #pypy
igitoor has joined #pypy
papangoo[m] has joined #pypy
infernixx has joined #pypy
mwhudson has joined #pypy
Cheery_ has joined #pypy
string has joined #pypy
Lightsword has joined #pypy
cfbolz has joined #pypy
EWDurbin has joined #pypy
andi- has joined #pypy
atomizer has joined #pypy
nimaje has joined #pypy
avakdh has joined #pypy
jacob22_ has joined #pypy
commandoline has joined #pypy
michelp has joined #pypy
simpson has joined #pypy
lazka has joined #pypy
ebarrett has joined #pypy
dmalcolm has joined #pypy
ammar2 has joined #pypy
energizer has joined #pypy
dustinm has joined #pypy
dstufft has joined #pypy
samth has joined #pypy
pmp-p has joined #pypy
mgorny has joined #pypy
wallet42____ has joined #pypy
phlebas has joined #pypy
kbtr has joined #pypy
holdsworth has joined #pypy
altendky has quit [Ping timeout: 245 seconds]
papangoo[m] has quit [Ping timeout: 244 seconds]
toad_polo has quit [Ping timeout: 245 seconds]
jryans has quit [Max SendQ exceeded]
astrojl_matrix has quit [Ping timeout: 248 seconds]
ronny has quit [Ping timeout: 276 seconds]
ShadeJonathan[m] has quit [Ping timeout: 276 seconds]
altendky has joined #pypy
vstinner has joined #pypy
vstinner has quit [Changing host]
vstinner has joined #pypy
ronny has joined #pypy
astrojl_matrix has joined #pypy
ShadeJonathan[m] has joined #pypy
toad_polo has joined #pypy
jryans has joined #pypy
papangoo[m] has joined #pypy
todda7 has quit [Ping timeout: 260 seconds]
oberstet has joined #pypy
<nulano>
mattip, not really. The log suggests it finishes all tests before timing out...
<nulano>
I can't reproduce it locally either (the process exits for me, so it shouldn't need to be killed)
<mattip>
nulano: ok, thanks for trying
lritter has joined #pypy
nimaje has quit [Quit: WeeChat 3.1]
nimaje has joined #pypy
todda7 has joined #pypy
Gustavo6046 has quit [Ping timeout: 260 seconds]
Gustavo6046 has joined #pypy
todda7 has quit [Ping timeout: 240 seconds]
Dejan_ has joined #pypy
_whitelogger has joined #pypy
nimaje has quit [Read error: Connection reset by peer]
<antocuni>
what is the best way to initialize a MixedModule at runtime? setup_after_space_initialization doesn't work because it's @not_rpython and it's run at translation time
lritter has quit [Remote host closed the connection]
todda7 has joined #pypy
<antocuni>
ah, maybe startup()?
<ronny>
is there some nice way to use cffi to use a memory mapped file a bit like an array of structs but also do append of new elements?
<antocuni>
ronny: I'm not sure to understand the question
<antocuni>
if you know the address of the mmapped region, you can just ffi.cast it to an array of struct, and access it normally
<antocuni>
"append of new elements": I don't know what you mean
<ronny>
antocuni: i want to use a memory mapped file as backing store for a struct array and expand the file/mmap when i append, im wondering if there is a tool for that
<antocuni>
not that I am aware of, but it looks like it's not a cffi-specific question
<antocuni>
I mean, do you know how to do that in C (I don't)? If you do, doing in cffi should be straightforward
<ronny>
antocuni: i think its going to be straightforward, i was just wondering if there was any tooling around it
<antocuni>
ronny: not that I am aware of
<ronny>
antocuni: aware of a way to ensure 4 byte integers have a specific endianess?
<cfbolz>
ronny: in cffi? you probably always get the machine's endianess
<ronny>
hmmm, borgbackup sprinkles ina a builtin_bswap32 in strategic locations