Gunther Stent made an interesting comment about this: "I believe that science is, by nature, reductionist, but I also believe that reductionism will not carry us all the way. One of the reasons why I think science will eventually peter out is because you must always explain some higher level in terms of some lower level - that's what scientists have to do. But I think that when finally we get to sufficiently complex things, this will not be possible."
That's one perspective. I do wonder how deep we'll get with understanding and simulating the brain.