Re: POpen, opening lots of processes
Tomasz Zielonka <t.zielonka@zodiac.mimuw.edu.pl> writes:
On Sun, Jan 11, 2004 at 10:22:09PM +0100, Ferenc Wagner wrote:
It isn't suitable for exchanging bigger amounts of data between processes.
May I ask why?
Well, if you were collecting big amounts of data (like dozens of megabytes) from the child process, you would probably rather want to either: a) consume it incrementally b) store it in a more economic data structure
Of course, both can be done in Haskell. I wonder if I could change my code to abstract it away...
I remember a discussion on the Haskell list about consuming database requests. The consensus was to use some pre-fold like callbacks (proposed by Oleg?) as the most general solution for such problems. You may want to look into that. Feri.
participants (1)
-
Ferenc Wagner