cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake | IRC logs: and | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
Julian has joined #pypy
Julian has quit [Quit: leaving]
jcea has quit [Ping timeout: 264 seconds]
dylanyoung has quit [Ping timeout: 256 seconds]
<mattip> dylanyoung: (for the logs) cool!
jcea has joined #pypy
<Alex_Gaynor> cfbolz: I just read a blog post on the typed C extensions work, very cool. it should be possible to add support to pyo3 (for rust extensions) as well at some point
<cfbolz> Alex_Gaynor: oh, that would be fantastic
<cfbolz> Alex_Gaynor: basically I don't think anyone should do this by hand, but if we could get the right thing to happen for binding generators, that would be amazing
<Alex_Gaynor> pybind11, which uses C++ templates IIRC, also seems like a good target
<cfbolz> Alex_Gaynor: right, cool
<cfbolz> Alex_Gaynor: do you think it's likely that pyo3 would accept a patch like that?
<Alex_Gaynor> I guess it depends on if it's standardized + how big the patch is. I think if it's non-standard + a huge patch, maybe not. But if there's a PEP and the patch is not too bad (I don't think it'd be big), I think probably yes.
<cfbolz> Right
<cfbolz> Alex_Gaynor: it's not clear to me whether there would be buy-in from cpython, given that it would not help them (at least at this stage) at all
<Alex_Gaynor> CPython is working on a JIT now, maybe they'll care :-)
<cfbolz> Alex_Gaynor: yep, but unboxing is still quite a while off for them I think
<Alex_Gaynor> Probably, yes
<Alex_Gaynor> I suppose for full JIT unboxing you also need a way to declare return types
<cfbolz> Alex_Gaynor: yep, our prototype does that
<Alex_Gaynor> ah cool
<cfbolz> But tons of details to clarify, what about exceptions for example
<cfbolz> Alex_Gaynor: anyway, in some sense we don't really need cpy buy in if we can agree between, say: pypy, GraalPy, some popular extensions or binding generators. The proposal is binary compatible with cpython after all
<fijal> "handle_meth" is a fantastic function name
iamzim has joined #pypy
dylanyoung has joined #pypy
iamzim has left #pypy [#pypy]
dylanyoung has quit [Ping timeout: 252 seconds]
epony has quit [Remote host closed the connection]
epony has joined #pypy
dylanyoung has joined #pypy
dylanyoung has quit [Ping timeout: 260 seconds]
Guest79 has joined #pypy