Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61112
| Date | 2013-12-05 22:16 -0700 |
|---|---|
| From | Michael Torrie <torriem@gmail.com> |
| Subject | Re: Embedding multiple interpreters |
| References | <52A137B3.7010408@entropicsoftware.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3622.1386307033.18130.python-list@python.org> (permalink) |
On 12/05/2013 07:34 PM, Garthy wrote: > - My fallback if I can't do this is to implement each instance in a > dedicated *process* rather than per-thread. However, there is a > significant cost to doing this that I would rather not incur. What cost is this? Are you speaking of cost in terms of what you the programmer would have to do, cost in terms of setting things up and communicating with the process, or the cost of creating a process vs a thread? If it's the last, on most modern OS's (particularly Linux), it's really not that expensive. On Linux the cost of threads and processes are nearly the same.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Embedding multiple interpreters Michael Torrie <torriem@gmail.com> - 2013-12-05 22:16 -0700
csiph-web