[Haskell-cafe] Lazy vs correct IO [Was: A round of golf]

Jason Dusek jason.dusek at gmail.com
Sun Apr 5 10:32:44 EDT 2009


  I hate to say it; but you know you can tweak the OS to allow
  excessive file handle usage.

  I once wrote a Haskell script to empty a very, vary large S3
  bucket. On Linux, I had to put it in a shell while loop to
  keep it going, due to file handle exhaustion. On my Mac it ran
  without incident.

 :; ulimit
  unlimited

  Turns out the `ulimit` on my Mac is pretty high.

--
Jason Dusek


 |...tweak the OS...|
  http://www.kegel.com/c10k.html#limits.filehandles


More information about the Haskell-Cafe mailing list