Comment by sanderjd
20 hours ago
I don't know Node or PowerShell very well, but I'm not sure what you mean by this with respect to Python.
20 hours ago
I don't know Node or PowerShell very well, but I'm not sure what you mean by this with respect to Python.
CPython doesn't usually create subprocesses unless specifically asked to, it loads Python modules and native extensions into its process. The former is similar (you're still extending an existing process with new code, just interpreted), the latter is literally dlopen(), so loading dynamic libraries.
A lot of other Python implementations don't have the ability to spin up new processes at all too.
I still don't really get this point. It's just two different things, spawning processes and running libraries. Seems like you're comparing apples and oranges to me.