Ars has just published part three in their series “From Win32 to Cocoa”, in which Peter Bright explains why he thinks “Windows is dying, Windows applications suck, and Microsoft is too blinkered to fix any of it.” Part one dealt with the history of both development platforms, part two dived into .Net, different types of programmers, and Windows Vista, and part three details the development platform and tools Apple has to offer, and in what ways they are superior or inferior to Windows’.I don’t wish to dwell for too long on the actual merits of Objective-C over C, or the benefits of Xcode, Interface Builder, and other tools – I mean, which tools someone prefers is a very personal thing, and debating that issue here is pointless and bound to end in tears and torn stuffed animals anyway. What is a very interesting point is that Apple gives away all its development tools, including their various profilers, for free, and how that affects the Mac software ecosystem.
These profiling tools are, as with all the Apple developer tools, free,” Bright writes, “In a world where most equivalent tools are rather expensive, this is very welcome. There’s a clear contrast here with Microsoft.” According to Bright, a ‘bean counter’ at Microsoft realised that you could sell development tools and make money from them. While the Visual Studio Express tools are free, it are the extras where Microsoft is weak.
To get a profiler for Visual Studio, you have to spend money. Quite a lot of money. The Express versions don’t have one. Nor does the Standard version, nor even the Professional version. So to get a profiler, you need Visual Studio Team System 2008 Development Edition. That’ll set you back a couple of thousand bucks. And it’s not even a very good profiler. It’s hard to use, limited in what it can tell you, and just plain ugly.
The problem with this is that it is a rather short-term way of generating income. If you purchase software development tools, you’re going to write software. This application can attract new users, who buy Microsoft software to run this application – and let’s face it, that’s going to generate more money than a single developer buying tools.
As Bright explains:
Giving developers better tools strengthens the platform. Good software is more appealing to users; business-critical software is essential to corporations. So while you could monetize developers, it’s short-sighted. Developers make your platform better, and charging them a lot of money for the privilege just doesn’t make sense. Intel does much the same thing; the chipmaker has a profiler product of its own, and it costs money. And yet, the purpose of that product is to make software that runs better on Intel processors so that people go out and buy more of them.
Apple also ‘eats its own dog food’, as the saying goes. It actually uses the tools, APIs, and frameworks it provides, reassuring their development community that said tools, APIs, and frameworks are sound and stable enough. In fact, in the Apple world, it’s usually the case that Apple will introduce some sort of new UI element or framework, which will later be made available to everyone else. If there’s an API in OS X, Apple is bound to be using it somewhere.
Finally, Apple has finally settled on Cocoa. It took them a while, but ever since 10.4 and 10.5, the direction has been clear: the future of the Mac OS is Cocoa. While Carbon is still there, and it’s still in use in for instance the Finder, it’s on its way out, as evidenced by the fact it won’t become available in 64bit. “This willingness to leave old technology behind is a great strength of the Apple platform,” Bright writes, “Rather than enshrining past decisions in perpetuity, Apple has a willingness to say “enough’s enough; this new way is better, so you should use it”.”
Part four will detail what and how Microsoft can improve things.
It was sad to know that the java bridge was deprecated by apple. There was a time when Java used to be a first class citizen on OS X. Sadly that is not the case anymore.
The good news is that the Ruby Cocoa bridge is still there. So programmers who dont wanna learn Objective C do have a chance of writing good apps.
Of course Apple itself broke Drb in ruby as a part of the 10.5.3 update: http://www.ruby-forum.com/topic/154556
OS X may not be the developer’s heaven as it is made out to be.