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
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
jvesely has joined #pypy
_whitelogger has joined #pypy
jcea has quit [Quit: jcea]
CrazyPython has joined #pypy
oberstet has joined #pypy
CrazyPyt_ has joined #pypy
CrazyPython has quit [Ping timeout: 244 seconds]
CrazyPyt_ has quit [Ping timeout: 244 seconds]
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
jvesely has quit [Quit: jvesely]
mvantellingen has quit [Ping timeout: 265 seconds]
mvantellingen has joined #pypy
dddddd has quit [Remote host closed the connection]
mdash has quit [Remote host closed the connection]
<antocuni>
arigo: so, I think I managed to have a hpy-rpython bridge which works both before and after translation, so that we can call rpython code from C. See commits 0937bdb0dc44..f38aac7839cd
<antocuni>
however, it required a couple of semi-dirty hacks, in particular to overcome the fact that in RPython we type "HPy" as a primitive number instead of a struct (see the comment in bridge.h)
<antocuni>
ideally, it would be nice to fix ll2ctypes to be able to pass structs by value around, but I'm not sure we want to go in that hell 😅