cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | Matti: I made a bit of progress, the tests now only segfault towards the end
derpydoo has joined #pypy
derpydoo has quit [Ping timeout: 268 seconds]
jcea has quit [Ping timeout: 268 seconds]
pbsds has quit [Ping timeout: 252 seconds]
otisolsen70 has joined #pypy
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has joined #pypy
<mattip> it seems the hpy-0.0.4 branch went out of sync with the 0.0.4 release, there is a lot of syncing to do
<phlebas> cfbolz: why is it more complicated? (just wondering if we overlooked sth, b/c I don't think there's anything particularly complicated in graalpy)
<cfbolz> phlebas: who allocates the struct in int.__new__
<cfbolz> And where do you store it?
<phlebas> so it's not in the same memory region, there's a pointer from the managed object to the native memory
<phlebas> all our objects have room to allocate some "hpyData" anyway (initially just used for HPyFields), but now we use that as a general place to store the native pointer as well as references to HPyFields (and maybe other stuff, fangerer would know better)
<cfbolz> phlebas: ok, so there's space in *every* object for that?
<phlebas> yes, right now there is. we initially put it in the attribute storage under a hidden key, but then getting to it requires a map read and when coming from native code that's not ideal
<cfbolz> ok
<cfbolz> phlebas: yeah, I think we will go with the map read for subclasses of other classes than object
epony has quit [Remote host closed the connection]
epony has joined #pypy
otisolsen70 has quit [Quit: Leaving]
derpydoo has joined #pypy
Dejan has joined #pypy
derpydoo has quit [Ping timeout: 260 seconds]
derpydoo has joined #pypy
Atque has quit [Read error: Connection reset by peer]
Atque has joined #pypy
Atque has quit [Ping timeout: 258 seconds]
Atque has joined #pypy
Dejan has quit [Quit: Leaving]
rwb has quit [Ping timeout: 260 seconds]
rwb has joined #pypy
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
rwb is now known as rb
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
derpydoo has quit [Quit: derpydoo]
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy