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 | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
jcea has quit [Ping timeout: 276 seconds]
itamarst has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #pypy
_vertig0 has joined #pypy
<_vertig0> The more I look at the gctransformer and the exception transformer the more I'm convinced they're explicitly designed for code being expressed in C, interestingly enough. No progress otherwise though, learning from the C backend is proving to be exceptionally difficult. The curse of not being one of RPython's original designers, I suppose :)
<cfbolz> _vertig0: which parts are specifically designed for the C backend?
<_vertig0> Not sure what you mean? At least both of them seem to lower graphs in a way C can specifically express I think (Such as a global exception object and return values for exceptions), if I understood you correctly
<cfbolz> _vertig0: sure, but you can also express a global exception value in LLVM bitcode, obviously?
<_vertig0> I was curious if I could use the explicit support that LLVM bitcode has for exceptions and a GC, but that seems to be a bit out of my paygrade for now. I do think if I go that route I can't use the transformers though since the information needed would probably be lost though
<_vertig0> (Did not mean to say "though" twice, oops)
<cfbolz> right, interesting plan
<cfbolz> we looked into LLVM GC support some (many?) years ago, but concluded that it wasn't stable enough/complete enough for what pypy needed at the time
<cfbolz> maybe that changed
_vertig0 has quit [Read error: Connection reset by peer]
_vertig0 has joined #pypy
_vertig0 has quit [Read error: Connection reset by peer]
_vertig0 has joined #pypy
jcea has joined #pypy
_vertig0 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
_vertig0 has joined #pypy
itamarst has joined #pypy
_vertig0 has quit [Read error: Connection reset by peer]
<korvo> Aw, None and tuples can't be unified. I don't know why I thought that they could.
<cfbolz> I'm always annoyed by that
<korvo> ...Or is there something about dicts such that I can't unify None values and tuple values?