[Python-ideas] async objects

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Oct 6 19:28:22 EDT 2016


Nick Coghlan wrote:
> The pay-off that CPython gets from this is that we get to delegate
> 99.9% of the work for supporting different CPU architectures to C
> compiler developers, and we get a lot of capabilities "for free" when
> it comes to stack management.

One of the main benefits is that it's very easy for
external code to make callbacks to Python code.

The original implementation of Stackless decoupled the
eval stack from the C stack, but at the expense of
making the API for calling external C code much
less straightforward.

-- 
Greg



More information about the Python-ideas mailing list