Re: Python subinterpreters with separate GILs

2021-02-10 Thread Christian Heimes
On 11/02/2021 03.51, James Lu wrote: > Directly removing the Global Interpreter Lock (GIL) would break a lot > of libraries that implicitly assume it is there. What if Python had > "realms" that each had separate GILs? > > The "realms" (not sure if "subinterpreter" is the correct term here) > coul

Re: Python subinterpreters with separate GILs

2021-02-10 Thread Cameron Simpson
On 10Feb2021 21:51, James Lu wrote: >Directly removing the Global Interpreter Lock (GIL) would break a lot >of libraries that implicitly assume it is there. What if Python had >"realms" that each had separate GILs? > >The "realms" (not sure if "subinterpreter" is the correct term here) >could shar

Python subinterpreters with separate GILs

2021-02-10 Thread James Lu
Directly removing the Global Interpreter Lock (GIL) would break a lot of libraries that implicitly assume it is there. What if Python had "realms" that each had separate GILs? The "realms" (not sure if "subinterpreter" is the correct term here) could share objects. -- https://mail.python.org/mail