1. 7
  1.  

  2. 1

    Back in my uni days I was writing a Haskell->.net compiler and my solution to stack overflows was to catch the overflow exception, then spawn a new thread and continue there :D