The black death killed a lot of people, but mostly the old and infirm. Europe was left an extremely young and dynamic place.
Today's demographic situation also involves a shrinking population, but it's for lack of young people. The world is getting a lot older really quickly, and that means less energetic and dynamic, and it means a lot of resources flowing to older unproductive people.