You're just as likely to be murdered in San Francisco, and statistics really don't mean shit except scaring people like you. The number of people being murdered in drug violence and other crimes has a very negligible impact on the probability of a mid-twenties software developer getting murdered.
It's extremely amusing how much people worry about being killed by thugs in places they've never been, when they're far more likely to be killed by a dumbass texting on 580.