5 Jun
2020
5 Jun
'20
5:45 p.m.
On 6/5/2020 11:11 AM, Edwin Zimmerman wrote:
Advantages of the one-to-one model ----------------------------------
1. It's less bug prone. It is much easier to reason about code working in a single address space. Most code assumes I'm curious where reasoning about address spaces comes into writing Python code? I can't say that address space has ever been a concern to me when coding in Python.
I don't know enough about Python code with subinterpreters to comment there. But for the C code that makes up much of CPython: it's very difficult to inspect code and know you aren't accidentally sharing objects between interpreters. Eric