I do mostly platform-independent C++ stuff, using Mac OS for my day-to-day work. No web development. I am unfamiliar with homebrew. What sort of troubles have you heard about?
And generally incompatibilities that need to be ironed out, but I'm glad to be mistaken.