Solipsism Gradient

Rainer Brockerhoff’s blog

An amazing bit of rumor has surfaced recently: Apple’s “Yellow Box” is supposed to be coming back from the dead, under the codename “Dharma“.

The idea seems to be that writing to a “pure Cocoa” API would enable software to be compiled, unchanged, for both Mac OS X and Windows. Or it could even be published as a universal binary containing both versions.

Indeed, the first aspect was the original idea when the Yellow Box was first published in 1997, when Apple bought NeXT (or vice-versa). Based on OpenStep, both Cocoa and the Yellow Box would have the same API and support programs running on both platforms. The Yellow Box was even included with Rhapsody (later Mac OS X server), although I think actual deployment licenses were sold separately. WebObjects (based on Objective-C) and EnterpriseObjects (ditto) used the same multiplatform philosophy.

However, at the 2000 WWDC Apple backed away from the whole thing. EO was discontinued amidst much weeping and wailing from its devotees, WO was converted to Java, and the Yellow Box was quietly dropped without much explanation.

At the time the reasons were quite unclear, but in hindsight some justifications can be seen. In particular, doing a successful multiplatform technology has turned out to be much more difficult than most people believed at the time; especially as Windows, not being under Apple’s control, would have been a difficult moving target anyway.

Personally I think that, retrospectively, dropping EO and moving WO to Java were mistaken decisions; keeping them both alive using Objective-C and Mac-only would have been prudent. However, the adoption of Cocoa turned out to be much slower than anyone would have thought, and as major companies like Microsoft, Adobe and Macromedia stayed with Carbon, any actual Yellow Box usage would have been restricted to smaller software houses or ISVs – for which the $3000 for 10 seats licensing terms would have been too expensive anyway.

Apple deftly turned away from the idea of Carbon as a short-term transition technology and instead promoted Carbon and Cocoa as equal-strength APIs whose capabilities are converging over time. Now here is an aspect which the recent rumormongers – not being developers – have not thought of. Both NeXTSTEP and OpenStep were the lowest-level API for application programs, but this is not true of Cocoa. The multiple layering of technologies and APIs on Mac OS X means that Cocoa can’t do many things that are possible in other APIs; meaning, in practice, that any reasonably complex software must use a mixture of technologies. My own XRay, for instance, even though it’s nominally a Cocoa program, also calls BSD APIs to handle users, groups, and permissions, as well as Carbon APIs to access many aspects of the file system.

Therefore, were the Yellow Box magically resurrected, programs written for a “pure Cocoa” API would theoretically run on it – but few, if any, existing Cocoa applications can afford to be so pure. The current Cocoa framework would have to be extended quite a lot, and Yellow Box prices would have to be lowered drastically – perhaps even to zero – before any but a handful of software companies would be interested. And for what? To allow interesting applications for Mac OS X also to run on Windows, reducing incentives for users to switch? Sounds extremely unlikely to me…

A large shoe which Apple will drop is, of course, virtualization. Virtualization will tie in with a recent Apple patent which, linked to the TPM chip, will allow the new machines to run other OSes inside a sandboxed “virtual machine”. Those other OSes will believe they have a somewhat slower system all to themselves, while running inside a separate window (and, perhaps, disk partition or disk image).

Putting this together with the previously discussed flash memory hypothesis, the advantages to Apple become obvious. Why should they need to have a standard BIOS or EFI at all? They can boot directly into the virtualization kernel (or whatever it’s called at the moment), from encrypted flash memory, which in turn would run a subset of Mac OS X – perhaps only the kernel with drivers and the windows manager – to have a basic GUI to check out which virtual OSes the user wants to run. This could be a full version of Mac OS X, or any version of Windows, Unix or Linux that runs on the abstracted hardware presented by the virtualizer.

In fact, it seems that a virtual OS could be a stripped-down OS specialized for a single application – something like what’s used now for embedded systems. It might be a gaming OS optimized for full-screen interfaces, for instance, or a TiVo-like appliance, or a multimedia center.

So, Apple doesn’t have to tie itself to standards during the boot process; in fact, this means that even if the user wants to run some non-Apple OS most of the time, the Mac interface will be present all the time underneath. At the very least, you can imagine the current ghastly BIOS user interface neatly presented in Aqua…

The Apple Centipede

No comments

Amazingly, I’ve almost caught up with my e-mail, almost a month after returning from the last trip… and the remaining offline work is clearing up, so I hope to be able to post more here again.

The catchy title is just to remind people that Apple has a lot of shoes to drop in the near future.

In particular, there’s been some news recently that I should comment on while I still have all the links. First of all, Apple will prepay $1.25 billion (yes, gigabucks) to a new Intel-Micron consortium to secure supplies of NAND flash memory – the flash memory used in some iPods. This of course is, obviously, also meant to dispel investor’s fears about iPod supply problems, as the present manufacturers aren’t quite able to keep up with Apple’s demands, let alone the rest of the industry.

Separately, the latest build of Tiger for X86 has been cracked; seems they’re not using the TPM encryption capabilties yet, but just checking for the chip’s presence. The latest build also extends Rosetta to emulate the G4 with AltiVec, so a wider range of PowerPC apps should be able to immediately run emulated on X86 – although there’s no word yet about speed ratios.

The Motley Fool and some other folks speculate that Apple will be introducing instant-on capabilities; this would use the suddenly plentiful flash chips to hold parts of the operating system while the power is off. Incidentally, the IBM/360 mainframes I worked with in the 1970’s had something similar; the core memories they used at the time held data when the power went off, so with some care – stopping the processor before turning it off – you often could just continue after turning it back on without a reboot.

Finally, it’s no surprise that Intel has a special “Apple Group” where engineers from both companies work together. As I believe it unlikely that Apple will use a standard Intel motherboard, the most likely focus of this group is to make special motherboards and custom chips for Apple.

Put these bits together and what do you get? I think the X86 hackers are in for a surprise when the new Macs come out. I think Apple will take OS-hardware integration to a new peak with the Intel Macs. They’ll have a gigabyte or so of flash memory where an encrypted version of the Mac OS X will reside – a return to the days of the first Mac 128, when most of the toolbox was in ROM and the “System” file just contained patches and late-minute additions.

This giga-firmware will be encrypted with each machine’s own unique ID – contained in the TPM chip – and will be decrypted on-the-fly as needed into a secure portion of system RAM. Future system updates will come encrypted and be re-coded by the update process, which will run in full secure mode, perhaps even inside the TPM chip itself. Since some Intel CPUs are rumored to have the TPM chip built-in, this hypothesis gains weight. The instant-on capability would be just a nice side-effect…

Re: End of an era

No comments

Posted by neilio:
That’s funny – my magazine consumption is increasing, not decreasing. I guess it’s all a part of me attempting to separate my computer / Internet time from offline stuff. There’s something very relaxing about sitting down with a hot beverage and a good magazine that cannot be replicated by reading the web site.

I think for me this more applies to newspapers than magazines – we still get the weekend edition of the local newspaper here, but during the week we get all of our news from the web.

Albeit I do read quite a few magazines where the content isn’t available on the magazine’s web site, but I think it’s also part of my reading habits. I like to sit down and read a magazine from cover to cover, where as I would never do this with an online version.

I would be interested to hear if your actual reading habits have changed since you stopped reading physical magazines – do you just dip in and read the occasional article here and there, or do you read through an entire magazine’s articles in one sitting as you might have before?

I also stopped keeping the majority of magazines that I buy – like you, I used to hoard everything, but after moving a half dozen times in the past 6-8 years I quickly learned that this, coupled with my massive book collection, was a one-way ticket to gigantic moving fees. So I now use magazine web sites for archives, and only keep the ones where the experience is vastly different with the print edition (Communication Arts, for example).

Just for fun, here’s some of the magazines I still purchase in print form:

– The Economist (though it’s getting harder and harder to read this cover-to-cover with all of the other distractions)

– Communication Arts

Before & After magazine

– Macworld (I have a free subscription lasting for another 2 years or so)

Maisonneuve – awesome Canadian magazine

Walrus – another excellent Canadian magazine – similar to Harpers, but with a Canadian perspective

I would be interested to hear what others are still buying in print form.

End of an era

No comments

Dozens of offline things to be debugged, no time… but I’m slowly digging my way out from under.

Even so, one thing struck me this weekend; I’m not buying magazines anymore.

Ten years ago I was buying an average of 20 to 40 magazines each month. No subscriptions; the few times I tried subscribing, it didn’t work out well; one extreme case was when I subscribed to MacWorld magazine at an expo and the first (and only) issue I ever got from that arrived 11 months late, and with my address wrong – they’d put in “Mexico” instead of “Brazil”. I suppose whoever typed my address in from the subscription card decided I was obviously mistaken about my country of residence. But I digress…

When we moved from a largish house into a smallish apartment, Dorinha wisely decided that my magazine collection would not survive the move. Some I gave to friends, some I stored elsewhere, but most if was discarded… and that part was like several cubic meters of paper. (I thought briefly of microfilming, but…)

Anyway, after the move the only magazine I still bought every month was Wired, since I had the complete run from issue#1. But lately some issues have been missing at the newsdealer’s, and now the last trip has definitely interrupted my collection… and most of it is available on the net now anyway… still, I miss the ads and the back page.

Of course, the blame lies on that Internet thingy. Don’t know how people survived without it…

Re: Ciao Italia

No comments

While I get my pictures organized, here’s my current World66 travel status:

and for Europe:

Hm, gotta do something about those blank blobs… icon_smile.gif

Re: Anniversary!

No comments

renatocanaan@gmail.com wrote:

Como está a viagem? Quando voltarem contem-nos tudo.

Gostaríamos também de ver muitas fotos.

Já voltamos; liguem-nos quando estiverem de volta também… algumas fotos vou publicar aqui.

Re: Anniversary!

No comments

Posted by renatocanaan@gmail.com:
Oi Dorinha e Rainer,

Como está a viagem? Quando voltarem contem-nos tudo.

Gostaríamos também de ver muitas fotos.

Estamos em Cabo Frio.

Beijos,

Edson, Claudia, Renato e Tameme

Photos licensed by Creative Commons license. Unless otherwise noted, content © 2002-2025 by Rainer Brockerhoff. Iravan child theme by Rainer Brockerhoff, based on Arjuna-X, a WordPress Theme by SRS Solutions. jQuery UI based on Aristo.