Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
1–9 of 9 posts
Re: Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
#2That choice is one you usually make only once in the lifetime of an application, you'd better make the right one. And I'd widen the field a bit to include other options not limited to Cocoa and Qt. If you have a success on your hands you'll really regret not being able to easily support other platforms.
Let's turn it around, what compelling reasons would you have for choosing Cocoa over a platform independent solution ?
Re: Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
#3Re: Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
#4Personally I think C++ is a big wart compared to the beautiful simplicity of Objective-C.
Re: Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
#5If platform independence is important, I'd still choose Cocoa but try to wrap the main functionality in platform-agnostic C/C++ or the like.
Re: Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
#6Re: Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
#7I'm assuming you are writing your desktop application for the Mac because you are considering Cocoa, if you're starting from scratch that's an excellent reason to pick a platform independent library. That choice is one you usually make only once in the lifetime of an application, you'd better make the right one. And I'd widen the field a bit to include other options not limited to Cocoa and Qt. If you have a success…
Re: Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
#8I've been critical of QT's somewhat restrictive license in the past, but the only reason not to use it with their coming shift to LGPL is the lack of iPhone support.
Re: Ask HN: Would you choose Cocoa or Qt for a desktop application, and why?
#9I would choose Cocoa because it is awesome. You will have so much more fun. It is also the only way to create great Mac apps that have a correct native feel. Personally I think C++ is a big wart compared to the beautiful simplicity of Objective-C.