Noted author and futurist Vernor Vinge is surprisingly optimistic when it comes to the prospect of civilization collapsing.
"Vinge: I think there are all sorts of different paths to the Singularity, at least five pretty different paths. I think they’re going to be all mixed together, but it still helps to think about them separately because it makes them easier to track. For instance, there’s classical artificial intelligence. You just build a big machine and hope you can figure out some way to make it very, very smart. Or really one that is very much I think in a lot of people’s minds now is simply that the internet plus the people on the internet — so the internet, its computers, its support software, its server farms, and then billions of human beings — those together could come to constitute a superhuman entity that would qualify as giving us a Singularity."