You will have to define "safe", but in general things like infinite loops are effectively bound by the amount of gas provided. Mistakes are still expensive, and it is easy to get the code wrong (the DAO hack and quadrigacx screw up this week are obvious examples), but the network itself is fairly stable, which is priority number one.