Let's not forget that GNU/Linux is intended to run on any damn machine you throw at it, while the latest version of OSX is only intended to run on Apple hardware that is no more than 3 years old. It's amazing that Ubuntu is even competitive with OSX given these circumstances.
Unfortunately, switchable/hybrid graphics remain
a pain in the ass under Linux. With Ubuntu 12.04 LTS,
the 2010 MacBook Pro had problems with either
open-source driver.