News for hackers. Stuff that matters.
Re:Ask HN: Would you choose Cocoa or Qt for a desktop applic... by jacquesm on Sunday February 08, 2009 @06:38PM (#472653)
I'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 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 applic... by loluyede on Monday February 09, 2009 @04:45AM (#473219)
I think about TextMate success story where the author decided to go with the platform dependent library to make it shiny and not waste time fixing behavior bugs due to the multiplatformness
Re:Ask HN: Would you choose Cocoa or Qt for a desktop applic... by yan on Monday February 09, 2009 @01:08AM (#473053)
It depends. If I were to write an app that I was sure was only for macs, I'd write Cocoa only. I find it a joy to develop for.

If 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 applic... by st3fan on Sunday February 08, 2009 @09:03PM (#472802)
I 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.

Re:Ask HN: Would you choose Cocoa or Qt for a desktop applic... by loluyede on Monday February 09, 2009 @04:46AM (#473223)
Got it, I was thinking about PyObjC anyway
Re:Ask HN: Would you choose Cocoa or Qt for a desktop applic... by trevelyan on Monday February 09, 2009 @01:52AM (#473098)
I'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 applic... by loluyede on Monday February 09, 2009 @04:45AM (#473220)
Obviously I'm considering QT only with the new license.
Re:Ask HN: Would you choose Cocoa or Qt for a desktop applic... by makecheck on Sunday February 08, 2009 @07:43PM (#472699)
Maybe Apple's implementation of Cocoa is Mac-only, but if you use something like GNUstep you can have the Cocoa APIs on other platforms.