Don't have experience with the Galaxy but I've had the M8 for the past year and a half and have found it ok. Relatively quick with a very nice display.
Two quibbles I have with it are the camera and battery life. If you're interested in taking photos on it, the camera is good in daylight but dodgy at night. Battery life is meh - lasts about a day.