This repository has been archived on 2017-04-03. You can view files and clone it, but cannot push or open issues/pull-requests.
blog_post_tests/20110225182231.blog

13 lines
4.6 KiB
Plaintext

The Smartphone Wars: Nod and WinCE
<p>I learned this morning that Windows Phone 7 &#8211; the smartphone OS that <a href="http://esr.ibiblio.org/?p=2987">bricks your phone!</a> &#8211; is a skin over a bunch of core components from Windows CE. Which if you came in late, is widely regarded as the second most wretched hive of bugs and villainy Microsoft ever shipped. </p>
<p>(Yes, I said &#8220;second most&#8221;. Even WinCE could not come near matching the epic failitude of <a href="http://en.wikipedia.org/wiki/Microsoft_Bob">Microsoft Bob</a>, which can only be explained by the justified supposition that its product manager was doing the mattress mambo with Bill Gates. She later married him, and Microsoft Bob disappeared down the event horizon of a black hole created by its own suckiness.)</p>
<p>My initial reaction to this news was &#8220;Doomed! What on Earth were they <i>thinking?</i>&#8220;. On reflection, however, there is an angle from which this way of slapping WP7 together makes a horrifying kind of sense. Not that I now think it&#8217;s any less doomed, mind you&#8230;but there are perhaps some useful lessons to be learned if we examine this fiasco from the <em>Microsoft</em> point of view.</p>
<p><span id="more-2993"></span></p>
<p>It&#8217;s 2008. Microsoft&#8217;s previous attempt at a new mobile-phone OS, codename &#8220;Photon&#8221;, has just crashed and burned. Suppose you are the loyal Microsoftie told that Microsoft needs to produce a new smartphone operating system on a deadline of less than three years. You can&#8217;t use anything with open-source ick all over it because der Ballmer would have an apeshit freakout and fire your ass the second he found out; there go all your best options. The weenies over in R&#038;D have things they call operating systems, but after listening to a couple of presentations about stuff like fine-grained parallelism and persistent objects you realize they really are research vehicles and adapting one would be as much work as building from scratch.</p>
<p>But you don&#8217;t have enough <em>time</em> to build a new OS from scratch. You&#8217;re on a tight deadline. And that deadline, for once, isn&#8217;t PHB bullshit; Apple shipped in early 2007, and by 3Q2009 there&#8217;s also a real risk from Android. In either case a late first ship could find a competitor so entrenched in a supermajority position that all your NRE would have been effectively wasted. If your higher-ups hadn&#8217;t held you to a tight deadline, <em>that</em> would have been good evidence that they were on bad hallucinogens.</p>
<p>Note that this is not exactly, or not only, a &#8220;Microsoft is incompetent&#8221; analysis. Android took four years, 2003-2007, and that was <em>with</em> the tremendous boost it got by re-using the Linux kernel. Building a production-quality OS is not a weekend project, you <em>can&#8217;t</em> re-use Linux, and the tempo of today&#8217;s smartphone market is brutally fast. As recently as 2004 or so you might have had the luxury of three or four years to first ship, but not in 2008. You have to re-use massive amounts of code to have a prayer of shipping soon enough.</p>
<p>There&#8217;s all the WinMobile and WinCE code lying around, and programmers who know it. Trying to salvage something from that wreckage makes sense <em>even if you know it&#8217;s mostly shit</em>. Otherwise how are you going to meet deadline? </p>
<p>Reusing as much of WinCE as you can swallow without gagging is the rational-minimax thing to do under the constraints you&#8217;ve been handed. That doesn&#8217;t mean it&#8217;s a <em>good</em> thing, necessarily, as the owners of now-bricked WP7 phones have just found out. What really went wrong here?</p>
<p>Closed source went wrong. I think it&#8217;s that simple; we don&#8217;t actually need the hypothesis that anyone at Microsoft was incompetent. They were boxed in at every turn by Microsoft&#8217;s insistence that <em>we must own it</em> and <em>no open source can be allowed on strategically critical paths</em>. They couldn&#8217;t reuse the Linux kernel, and their WinCE equivalent had three orders of magnitude less engineering time in it (judging by calendar years of deployment and the maximum possible size of the dev team). Possibly <em>four</em> orders&#8230;</p>
<p>There&#8217;s no recovery from this, I think, because having to base WP7 on WinCE wasn&#8217;t a contingent, accidental failure. It was an essential one. And, a few years from now when smartphones are almost everyone&#8217;s primary computing devices, it may be the particular one that goes on Microsoft&#8217;s tombstone.</p>