
On Sat, Nov 21, 2020 at 3:35 PM Brendan Barnwell brenbarn@brenbarn.net wrote:
So let me ask this: In what circumstances do you think producing native
executables IS a bad thing, and in what circumstances do you think it ISN'T a bad thing, and why do you think including such functionality in the stdlib would encourage the former more than the latter?
It's a bad thing any time it isn't actually necessary, and it's a good thing only when it is actually necessary. It's not my place to argue other people's use cases in specifics, but I'm just saying that the default should be to NOT bundle the interpreter, and you only reach for a native executable if that doesn't work.
Under what circumstances should you use subprocesses and pipes in a Python program, and under what circumstances should you just keep everything inside a single process? Should you just always use boilerplate that runs everything in multiple processes in case you need to run it across multiple CPU cores? No. Does this mean I'm arguing against ever using multiple processes? No.
Use the simpler options until you can't use them. Then use the more complicated options.
ChrisA