3 ms·
> Threads are cheaper than processes. A default java thread carries 2MB overhead, a python process for a typical app can easily be 2GB without very careful mem
by zbobet2012 7y ago
> Threads are cheaper than processes. A default java thread carries 2MB overhead, a python process for a typical app can easily be 2GB without very careful memory consideration.
Threads are not cheaper than processes in Linux in any significant way. See the stack overflow question on that: https://stackoverflow.com/questions/807506/threads-vs-processes-in-linux https://stackoverflow.com/questions/807506/threads-vs-proces...
A _langauges_ use of those may have poor performance.