Compare julia sum to a cpp implementation - julia is extremely slow?!

Could you show the new code?