[Haskell-cafe] Fwd: Default stdout buffering of child process of createProcess

Brandon Allbery allbery.b at gmail.com
Sun Aug 3 22:35:34 UTC 2014


On Sun, Aug 3, 2014 at 6:31 PM, <ok at cs.otago.ac.nz> wrote:

> "Java does not buffer by
> default, it is up to YOU to use BufferedReader and/or
> BufferedWriter if you do not want I/O to be catastrophically
> slow".
>

Pretty much, yes. I'd forgotten that particular Java misfeature,
particularly since everyone else who'd considered changing the default
learned from the Java experience instead of repeating it.

(Granted, Java is something of a pessimal case.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140803/fbf42c53/attachment.html>


More information about the Haskell-Cafe mailing list