in reply to Why use threads over processes, or why use processes over threads?
The performance difference is also a winning point for thread over processes.
Excuse me? Perhaps you missed this post by liz discussing Perl's ithreads. Sure, in theory threading might be better than forking, but in practice (in Perl) it is anything but "lightweight" or "fast". And that's not even considering leaks or bugs, that's just considering the current design. I'll stick with fork for concurrent programming on *nix, and one of these days I'll get around to trying out liz's drop-in forks replacement for threads.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Why use threads over processes, or why use processes over threads?
by pg (Canon) on Nov 11, 2003 at 07:44 UTC |