<snip>
People in Chile knew the safest places to go to when the earthquake struck.
Also, since an even stronger earthquake in 1960, Chile has developed a seismic design code for new buildings, which has made them better able to stay standing in an earthquake.
One system that helps buildings stay up is called the "strong columns weak beams" system.
The idea is that buildings are held up by reinforced concrete columns, which are strengthened by a steel frame. Reinforced concrete beams are joined onto the columns to make floors and the roof.
If there is an earthquake, the idea is that the concrete on the beams should break near the end, which dissipates a lot of the energy of the earthquake, but that the steel reinforcement should survive and the columns should stay standing, which means the building will stay upright.
The problem is that an 8.8 magnitude earthquake is "towards the top end of what you're designing for", according to Professor Colin Taylor, professor of earthquake engineering at Bristol University.
http://news.bbc.co.uk/2/hi/americas/8543324.stmAn 8.8 quake will severely strain or break most designs. However, using this as one technique can improve the ability of people to survive a quake as Chile proved. It is only one technique and many more have been or are being developed.