Developing on the Mac
Posted by rickb on 22nd January 2008
Now that the Mac has finally settled down, I’ve been moving my development efforts off of Windows and onto the Mac. And just recently, I’ve done a partial upgrade to Leopard (hedging my bets by installing it on an external USB drive. Best of both worlds – I can boot Leopard off the USB, and Tiger off the internal.)
XCode is a reasonable IDE – better with the Leopard incarnation. The integration with gdb is tight – I’m having to go to the cl gdb less frequently. Qt is working just fine on the Mac, with no surprising ‘Mac’ gotchas. (In fact, I’ve gotten more ‘gotchas’ in the linux environment than I have Mac.)(Or Windows.)
A few things I miss in the Windows environment:
- Visual Studio has better capability to look at out-of-scope expressions. If I want to examine the contents of a pointer, it’s easier in VS than in Xcode.
- Visual Studio’s ability to debug Javascript in IE is simply awesome – it looks and behaves pretty much like any other language in the IE.
- Windiff is still the best windowed comparison program in the land.
For PHP development, Zend’s Eclipse IDE port works fine on the Mac (and the latest incarnation adds a lot of features.) For first cut debugging of Javascript, the Firefox debugger handles most cases – although in a crunch, I’m tempted to go back to MSVS for the more puzzling situations.
Still, for the most part, I’ve been ‘living in the environment’ and haven’t been tempted to shift back over to Windows for anything in particular.
So, the Mac is becoming pretty much my mainstream preferred development environment. With the addition of Parallels and a few scattered VM’s , I can do the verification builds and debugging on Windows and Linux as necessary, using net shares to access the central development environment. There’s a bit of a time penalty for going this way – but I don’t build frequently in the VM’s and the trade-off for not having to carry more than one machine more than compensates for a slightly slower build.
Ah. There is one area where the Mac is really hands-down the preferred platform: imaging. For one thing, you can color profile both displays – an annoying shortcoming in Windows (XP, anyway).
Posted in C++, Mac, MacIntosh, Open Source, Parallels, Platforms, Programming, Qt, Software Development, Virtual Machine Software | No Comments »
