Jobs and Tevanian vow to fight OS X speed drain

Click. Grind. Click


Apple WWDC Apple CEO Steve Jobs and chief software henchman Avie Tevanian went out of their way to acknowledge performance concerns about OS X in a marathon keynote yesterday. A note of 'we feel your pain' seemed to be mixed into the usual evangelical message: Jobs cited that performance was top of the list of features both users and developers wanted to see fixed. (Unsuprisingly, the Dock is No.2)

The last time we touched on OS X performance unearthed some intriguing correspondence from ex-Apple and ex-NeXT veterans, which we can now report. They paint a complicated picture and for obvious reasons, a couple of informants request anonymity.

So is OS X slow? It shouldn't be, and in some circumstances isn't. Raw Darwin Apache benchmarks prove to be blazingly fast, for example. But the new Aqua UI seems to carry a performance penalty its ancestor - NeXT's Display Postscript model - never exhibited. And chief culprit is the Finder itself.

Ah, yes... the new Finder. Not exactly responsive, is it? In fact, it's like trying to swat flies with a small stretch of sticky tape, we reckon. Seconds can go by while menus obstinately refuse to respond, or many seconds if you're accessing files over a network connection. Our recent suggestion that this may be due to the new Finder being a Carbon application, (Carbon is the transition libraries that closely resemble the classic Mac API) not Cocoa (the... er... truly native libraries derived from NeXT/OpenSTEP), got short shrift from one quarter.

"OS X Finder is written in PowerPlant, Metrowerks' application framework, which has only been partially updated to take advantage of Carbon Events," writes a Mac graphics developer. "So I wouldn't expect Finder to be as efficient as possible. The Carbon changes for PowerPlant are still in beta as well, so there may be outright bugs in there slowing things down."

Well, yesterday Avie Tevanian showed how easy it is to write a badly behaved Carbon application, making a fairly explicit warning to use the Carbon APIs fastidiously. But that might not be enough:

"The problem isn't that the Finder is a Carbon application, it's a really badly written Carbon application," one veteran NeXT and now Mac developer tells us. For example, the Finder calculates the size of packaged applications, which requires walking down the tree totting up file sizes, which brings viewing the Applications folder can bring things to a temporary halt.

More to the point say NeXT veterans, the NeXT crown jewels aren't available in the Carbon Finder - the services.

To the uninitiated, writing the Finder in Cocoa doesn't sound like a recipe for a faster system: it's a very rich object-oriented environment, with plenty of run-time linking, providing services to developers for free. But it's essentially unchanged since the NeXT days, and NeXT flew on 68k hardware. And this, as NeXT developers will point out, was really the killer app for the system: speed of development. Berners Lee invented the web on a NeXT box, John Carmack wrote Doom on a NeXT box. So why showcase the new OS with the worst of the Mac legacy that Apple would like to bury?

We buttonholed an Apple product manager on this point yesterday, and asked when a Cocoa finder might appear. He couldn't say, but did say the Carbon Finder was a showcase of the transition libraries, to show how easily developers could port to the new system. Showcase wasn't our choice of word, but perhaps fearing the vengeful eye of the CEO a few yards away, he vanished.

Apple management can hardly be blamed for being low key about Cocoa. Their first attempt to evangelise NeXT APIs on the Mac - the Yellow Box for what was then Rhapsody - presented too much of a hurdle for most Mac OS developers. What we have now is Plan B, and Cocoa can finally appear as a desktop environment, C / C++ ... Yellow Box hasn't been entirely overlooked though: FileMaker president Dominic Goupil told us yesterday that the upcoming Cocoa version of FileMaker server was smaller than the current client app, and ported formed the basis of the Windows version. Just like the Yellow Box spiel suggested.

We'd better report that the Finder isn't the only app to get the thumbs down from hardcore Mac users. Tevanian tried to address audio real/time authors concerns with a demo showing the latencies of the system. Macs are standard in recording, where the atrocious multitasking of the old OS can be turned to the music pro's advantage. Latency isn't so bad, Apple wanted to persuade us.

With new Apple users discovering Mac OS X by the million now that it's been preloaded, fixing the Finder is a matter of some urgency. If the new OS isn't responsive, then it'll be regarded as just another piece of eye candy. Replacing the Carbon finder with an extensible Cocoa version should be a matter of urgency at Apple. For those of you who can't wait though, this port of the NeXT browser, RBrowser, works a treat. ®

The Register Mac Channel


Other stories you might like

  • These Rapoo webcams won't blow your mind, but they also won't break the bank

    And they're almost certainly better than a laptop jowel-cam

    Review It has been a long 20 months since Lockdown 1.0, and despite the best efforts of Google and Zoom et al to filter out the worst effects of built-in laptop webcams, a replacement might be in order for the long haul ahead.

    With this in mind, El Reg's intrepid reviews desk looked at a pair of inexpensive Rapoo webcams in search for an alternative to the horror of our Dell XPS nose-cam.

    Rapoo sent us its higher-end XW2K, a 2K 30fps device and, at the other end of the scale, the 720p XW170. Neither will break the bank, coming in at around £40 and £25 respectively from online retailers, but do include some handy features, such as autofocus and a noise cancelling microphone.

    Continue reading
  • It's one thing to have the world in your hands – what are you going to do with it?

    Google won the patent battle against ART+COM, but we were left with little more than a toy

    Column I used to think technology could change the world. Google's vision is different: it just wants you to sort of play with the world. That's fun, but it's not as powerful as it could be.

    Despite the fact that it often gives me a stomach-churning sense of motion sickness, I've been spending quite a bit of time lately fully immersed in Google Earth VR. Pop down inside a major city centre – Sydney, San Francisco or London – and the intense data-gathering work performed by Google's global fleet of scanning vehicles shows up in eye-popping detail.

    Buildings are rendered photorealistically, using the mathematics of photogrammetry to extrude three-dimensional solids from multiple two-dimensional images. Trees resolve across successive passes from childlike lollipops into complex textured forms. Yet what should feel absolutely real seems exactly the opposite – leaving me cold, as though I've stumbled onto a global-scale miniature train set, built by someone with too much time on their hands. What good is it, really?

    Continue reading
  • Why Cloud First should not have to mean Cloud Everywhere

    HPE urges 'consciously hybrid' strategy for UK public sector

    Sponsored In 2013, the UK government heralded Cloud First, a ground-breaking strategy to drive cloud adoption across the public sector. Eight years on, and much of UK public sector IT still runs on-premises - and all too often - on obsolete technologies.

    Today the government‘s message boils down to “cloud first, if you can” - perhaps in recognition that modernising complex legacy systems is hard. But in the private sector today, enterprises are typically mixing and matching cloud and on-premises infrastructure, according to the best business fit for their needs.

    The UK government should also adopt a “consciously hybrid” approach, according to HPE, The global technology company is calling for the entire IT industry to step up so that the public sector can modernise where needed and keep up with innovation: “We’re calling for a collective IT industry response to the problem,” says Russell MacDonald, HPE strategic advisor to the public sector.

    Continue reading

Biting the hand that feeds IT © 1998–2021