When people call others buddy, it sounds very condescending and like you are better than them, kind of like you are talking to a child. I would recommend avoiding buddy. Dude is a great one to use for friends, it shows that you are comfortable and casual around them.