I would say it's a good idea to tell your children about things in the world like violence, sex, etc sooner rather than later. It's better if children are taught about these things properly by their parents, not by other kids at school, who might lead children into the wrong crowd. I was 13 when I learned what sex is by getting teased by classmates. I don't wish that upon anyone.
Shielding your children from the real world does not turn them into well rounded individuals, it turns them into softies who are removed from reality and will experience much stress and anxiety. Give your children the ability to think for themselves, make their own decisions and take responsibility and they won't turn out like I did, hating the world and suicidal at the age of 11.