I think this is too general to give a good answer. When you say socialism, are we talking about Sweden or Cuba? When you say capitalism, are we talking about the model of most Anglophone countries, or are we talking about misanthropic Ayn Rand / TurtleDude capitalism?
There are some aspects of capitalism that work well, and some aspects of socialism that work well. It's a myth that either the government or the private sector is better in all cases, and the "market fundamentalists" are every bit as delusional and narrow-minded as the hardcore communists are. The government generally does a better job providing human services (e.g. education, health care) and public goods (e.g. roads, police), and the private sector generally does a better job providing other consumer products (e.g. iPads, hamburgers).