[Idle-dev] multiprocessing module and IDLE without subprocess
taleinat at gmail.com
Tue Dec 2 17:10:47 CET 2008
> I'm also curious why IDLE uses sockets to communicate with the
> subprocess in the first place. Are other forms of IPC not suitable?
Generally speaking, using sockets is the most portable form of IPC
across all platforms. You'll see that most RPC libraries use sockets,
if not all of them. (IDLE uses a custom RPC mechanism to communicate
with the sub-process). And communicating via sockets is certainly fast
enough for IDLE's needs.
More information about the IDLE-dev