Slashdot Mirror


Run Windows Applications Natively in OS X?

mcho writes "Unlike other speculators, who get no spam, Robert X. Cringely offers an intriguing reason behind Apple's recent strategy of Boot Camp. From the article: 'I believe that Apple will offer Windows Vista as an option for those big customers who demand it, but I also believe that Apple will offer in OS X 10.5 the ability to run native Windows XP applications with no copy of XP installed on the machine at all. This will be accomplished not by using compatibility middleware like Wine, but rather by Apple implementing the Windows API directly in OS X 10.5.'

27 of 521 comments (clear)

  1. Uhhh... hello. by jonnythan · · Score: 5, Informative

    Wow, Cringely obviously has a clue.

    "This will be accomplished not by using compatibility middleware like Wine, but rather by Apple implementing the Windows API directly in OS X 10.5."

    Wine *is* an implementation of the Windows API.

    Cringeworthy is more like it

  2. As usual.... by wiggles · · Score: 5, Insightful

    Cringely is out of his mind.

    1) There is no way in hell Microsoft would document their API to the level necessary to allow Apple to duplicate it.

    2) It's blatantly obvious he doesn't understand precisely what Wine is. Remember: Wine Is Not an Emulator. It's a built-from-scratch implementation of the Windows API.

    Idiot.

    1. Re:As usual.... by wulfhound · · Score: 5, Insightful

      The problem is not whether or not it's possible, but whether it's feasible for a development team to do it well enough (for Mac users, who expect much higher standards of such things than Linux users) and in a short enough time frame.

      Personally I think it's doubtful for that reason.

  3. Moderation by palad1 · · Score: 5, Funny

    Damn, I whish I could mod this story +5, Funny

  4. YHBT! by NutscrapeSucks · · Score: 5, Insightful

    Cringely and Dvorak must be making humongous ad-revenue trolling Mac Fans lately. They're eating it up!

    It's understandable because Apple has made some radical moves lately (Intel, Windows), so the Mac Zealot's universe must seem like it's in total flux. No longer can they confidently predict Apple's next move using their supposed expertise in everything-apple. If Apple will put Windows on Macs, pretty much anything goes!

    Obviously these columnists sense the uncertainly and are having fun stirring things up a bit. Anyway, before you fire off your 1000 word point-by-point response denouncing Cringely, keep in mind he probably wrote this column in 15 minutes while high on cough medicine.

    --
    Whenever I hear the word 'Innovation', I reach for my pistol.
    1. Re:YHBT! by Ohreally_factor · · Score: 5, Funny
      It is indeed an interesting time to be a Mac user.

      keep in mind he probably wrote this column in 15 minutes while high on cough medicine.

      Actually, he was only able to put down on paper the fantastic visions conjured by his drugged out mind for fifteen minutes before he was interrupted by a person from Porlock. When he was finally able to get back to writing his article, he found that the vivid images had left him, and he was left with only a few fragmentary notes.

      In Cupertino did Kubla Khan[1]
      A stately pleasure-dome decree[2] :
      Where Alph, the sacred river, ran[3]
      Through caverns measureless to man[4]
      Down to a sunless sea.[5]


      [1] Clearly a reference to Steve Jobs
      [2] Jobs announces expansion of Apple campus
      [3] River Alph = 1 Infinite Loop(?)
      [4]Undocumented Windows APIs
      [5]Apparently where WinFS is hiding

      --
      It's not offtopic, dumbass. It's orthogonal.
  5. Re:What's the incentive to write a program for OS by Anonymous Coward · · Score: 5, Insightful

    Cool! All of the spyware and viruses can run in OS X too. That would be great.

  6. Re:What's the incentive to write a program for OS by non0score · · Score: 5, Interesting

    By your reasoning, then why bother writing OSX programs in the first place? The point is that people write programs for OSX because they want to, not because they're somehow stuck with a Mac and can't write something for the PC. This is giving people who use program Y that was never "ported" to the Mac platform (and thus can't switch over) a reason to switch over. Of course, this is also giving a lot of convenience to long-time Mac users who just can't seem to get any games.

    Now, only if I can plug in any PCIE gfx card and be able to get the OSX drivers for them, I'll be all set....

  7. Re:What's the incentive to write a program for OS by gluteus · · Score: 4, Insightful

    Because Mac users will treat any Windows apps running on OS X like second class citizens. They'll stomach it, but not for long.

    People credit Apple for how apps are consistently Mac-like and interoperate with each other, but the users are the ultimate enforcers. Any developer who steps out of line is crucified.

  8. What's the incentive to write a program for OS X by tourvil · · Score: 4, Interesting
    If it can just run X11 apps anyway?

    The answer? Because X11 apps (and likely Windows apps, if they did implement Windows compatibility) look and behave like crap next to Cocoa and Carbon apps. They don't use the menu bar, all the shortcuts use control instead of the command key, etc. There's nothing wrong with those on an X11 system, but switching back and forth between Cocoa and X11 apps can be jarring.

    I doubt Windows compatibility would cause existing Mac developers to drop support. And who knows, Windows-only developers might start considering a Mac port more seriously if a significant portion of their user base started running their apps on a Mac.

  9. Re:tap, tap, tap, .. there's no place like OS X... by Ford+Prefect · · Score: 5, Funny

    He expects Apples magical engineers to just whip out a feature complete copy of the Windows API in just a few months?

    Give me a load of All-Bran or other fibre-rich foodstuffs to work on, and I'm sure I could produce a feature-complete copy of Microsoft Windows in 24 hours or so. Even less, if laxatives are involved.

    --
    Tedious Bloggy Stuff - hooray?
  10. Read the &*^%$*&%$ Article by dham340 · · Score: 5, Informative
    For all those who have not read the article and have thrown out issues with apple maintaining and/or duplicating the Windows API:
    Remember Steve Jobs' first days back at Apple in 1997 as Interim-CEO-for-Life? Trying to save the company, Steve got Bill Gates to invest $150 million in Apple and promise to keep Mac Office going for a few more years in exchange for a five-year patent cross-licensing agreement? The idea in everyone's mind, of course, was that Microsoft would grab lots of Apple technology, which they probably did, and it quite specifically ended an Apple patent infringement suit against Microsoft. But I'm told that the exchange wasn't totally one-way, that Apple, in turn, got some legal right to the Windows API. That agreement ran for five years, from August, 1997 to August 2002. Even though it has since expired, the rights it conferred at the time still lie with the respective companies. Whatever Microsoft grabbed from Apple they can still use, they just aren't able to grab anything developed since August 2002. Same for Apple using Microsoft technology like that in Office X. But Windows XP shipped October 25, 2001: 10 months before the agreement expired. I'm told Apple has long had this running in the Cupertino lab -- Intel Macs running OS X while mixing Apple and XP applications. This is not a guess or a rumor, this something that has been demonstrated and observed by people who have since reported to me.
    If true, then Apple has a *legal right* equivelent to that of an owner to use the Windows API. Yes, M$ can change it, but it would have to be prospectively.
  11. Re:What's the incentive to write a program for OS by The+Snowman · · Score: 4, Interesting

    Ideally this would be in a sandbox, similar to a virtual machine. That way all you have to do is kill the VM, and all that crud is gone. Since it's a VM, you can easily make backup copies of the file system -- similar to a restore partition on OEM machines. Set it up the way you want, and when ActiveX rips a hole in Windows or malware slows it to a crawl, it's easy. Kill the VM process, copy the backup partition over.

    Of course some of us can run Windows without malware, viruses, and all that stereotypical garbage. Some of us do have a clue how to administer a Windows computer. I've worked with many operating systems -- DOS, DOS/Windows, Windows NT, Linux, FreeBSD, Solaris, HPUX, and even little Vax. In my experience, none are easier or more difficult to secure with the exception of DOS or DOS-based Windows (96/98/ME), which suck. All it takes is a little training on the security issues and the ability to be proactive with security.

    --
    24 beers in a case, 24 hours in a day. Coincidence? I think not!
  12. did you forgot darwine?? by evandrofisico · · Score: 4, Interesting

    there have been a lot of work on that!!! It's called http://darwine.opendarwin.org/ and it's not yet stable...

  13. Re:tap, tap, tap, .. there's no place like OS X... by Ohreally_factor · · Score: 4, Interesting

    You might have missed this bit in the article.

    According to Cringely, Apple has had access to XP APIs under an tech sharing agreement between Apple and MS that was forged in 1997. (This was part of the agreement that let MS off the hook for appropriating quicktime technology into their own media products.)

    --
    It's not offtopic, dumbass. It's orthogonal.
  14. That would actually be the major reason not to by Sycraft-fu · · Score: 5, Interesting

    IBM had that problem with OS/2. It ran Windows apps just fine, there were very few that didn't work jsut as intended... Which lead to nobody making native OS/2 apps. I mean if you can write it once and it'll run on both OSes, why bother with a port? Sure it would work BETTER if it was a native app, but it worked well enough.

    I think Apple would face a similar problem. Not all apps would stop porting, of course, apps that have a healthy market like Photoshop would keep porting, but I think many would. You'd never see another game port, and any app that wasn't really core-market kind of app for Apple would likely stop porting. You have to figure you aren't really going to lose any sales since it does run, and there are few people using it in the first place, so why bother?

    Now maybe Apple decides they don't care. Maybe they want to implement the Windows APIs and just use those. Maybe they figure the other features of the OS are enough to keep epopel buying. However I gaurentee they are smart enough to know that if they implement the Windows API natively in OS-X, that most apps will just use that and not bother to port.

    1. Re:That would actually be the major reason not to by IntlHarvester · · Score: 4, Insightful

      You'd never see another game port, and any app that wasn't really core-market kind of app for Apple would likely stop porting.

      One could argue that Apple sees only a very small percentage of game and "non-core" ports anyway, so they wouldn't be losing very much.

      (There's a wishful-thinking at work in the Mac community that eventually major software houses will come around, but the reality is that most desktop apps are just too tied to Windows for that to happen.)

      I always disliked the impression that OS/2 failed because of WinAPI support. To the extent OS/2 succeeded, it was because it was sold as a "Better Windows Than Windows". And OS/2 was reasonably successful with a marketshare about the size of Apple's.

      There's many more reasons one can find for OS/2 ultimate destruction. It wasn't a very technically sound design -- IBM spent zillons on a expensive Mach-based rewrite that failed. It was largely mismarketed by IBM first targetting "enterprise" customers, and then oddly "consumers". And the touted features like the object-desktop were ugly and poorly executed.

      --
      Business. Numbers. Money. People. Computer World.
    2. Re:That would actually be the major reason not to by Sycraft-fu · · Score: 4, Interesting

      The reason OS/2 failed because of Win API support was because it chained them to a no-win cycle. They HAD to continue to support the Win API because there were almost no native apps. However supporting it was a bitch both in terms of time spent on implementation and in terms of design concessions. They finally decided to stop with Win32 and OS/2 dies shortly thereafter.

      At this point, Apple has people porting to OS-X. Not a ton, but enough. If they add Win32 support, I think the number porting will fall significantly. The problem is they then become chained to the MS API. If MS releases a changed API, they have to scramble to implement it as well.

      It also means that bugs and such come over. Thought your computer was protected against spyware? Sorry, no longer, it can execute Windows programs, and they don't bother to set the Evil Bit to allow you to ignore them, You get the good with the bad.

      I think that would take away a major percieved advantage Macs have. The one thing that more people who claim to want to switch, or actually do switch, bitch about than any other in my experience is spyware and viruses. They see them as MS's fault and want them ot stop. They've been promised the Mac does not have those, which is true at this point.

      Well, if all of a sudden all the Windows malware runs on a Mac, you are back to where you started. It is again incumbent on the user not to do stupid stuff, rather than having a protection because the bad code just won't execute.

  15. "The Windows API" by ValentineMSmith · · Score: 4, Insightful
    I was really amused at the way he mentioned "the Windows API" like it was half a dozen export functions from some 3rd party dll. If he'd ever gone to MSDN (or had installed any version of Visual Studio with the appropriate documentation), he'd know that attempting simply to implement enough of the core Win32 API to be useful would be virtually impossible. This isn't even counting some of the add-on systems like COM and Direct X. And it's not counting the fact that this implementation would not need to be "documentation compatible", but bug-for-bug compatible with its Windows counterpart.

    There have been at least three projects that I know of (Wine, OS/2 Warp 4, and ReactOS) that have tried to do implementations of the Win32 API. OS/2s implementation never truly got off the ground (and was neither able to run native Win32 code, nor was it even reasonably complete). Wine and ReactOS have both been fighting a Sisyphean battle with Microsoft throughout the life of their projects.

    Then, you need to add in the fact that Apple has historically been very jealous of their user experience. I don't expect that Apple would ever release something like this unless and until it was impossible to distinguish a Win32 application from a native app.

    Don't get me wrong: I'd love to see it (it would provide justification that I could use on the spouse for upgrading our G4 MiniMac). I just think that Cringely needs to put down crack pipe and slowly back away.

    --
    Karma: Chameleon - mostly influenced by bad '80s New Wave music
    1. Re:"The Windows API" by Arandir · · Score: 4, Insightful

      I completely agree. I think a much more mundane prediction is far more likely: you will be able to install Windows on a separate partition and run apps off of it via a virtualization layer.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  16. True by geekoid · · Score: 4, Funny

    WHat we need is a multi-billion dollar organization with knowledge of the Windows API and developers on staff...oh. wait.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  17. Sleeping with Dvorak by everphilski · · Score: 4, Funny

    Sounds like Cringely has been sleeping with Dvorak too long. You know how when couples are with each other for a long time they begin to sound and act like each other...

  18. Re:WINE is an OS component by Qzukk · · Score: 4, Interesting

    WINE becomes an OS component as soon as one Linux distro vendor bundles WINE

    So apache an OS component, because all of the distribution vendors bundle it with linux?

    Does that mean AOL is a component of windows, because dell bundles a 6 month trial on most of their machines?

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
  19. Wine vs Windows API by dokebi · · Score: 5, Insightful

    A lot of comment so far correctly point out that WINE is is an implementation of the Windows API, but they miss Cringely's point that Apple licensed the Windows API. The whole shebang. So unlike the WINE development team, OSX-XP project team doesn't have to reverse engineer undocumented and cryptic API's. Anyone who remembers IBM's OS2 knows that IBM licensed the Windows API, and included it into OS2, and could run all Windows programs. OS2 failed because of lack of consumer appeal (eye-candy), not because of lack of compatibility.
    I imagine Apple could pull a better OS2 than IBM. Security, stability plus consumer appeal plus Windows compatibility.

    Even if all this is speculation, it probably gives Messrs Dell and Gates nightmares.

    --
    In Soviet Russia, articles before post read *you*!
  20. Safe Browsing by buckhead_buddy · · Score: 4, Funny
    Recipe to avoid the "BRITNETSPEERZNAKED.JPG" viral threats:
    • Switch browsers from IE to Firefox
    • Switch Operating Systems from Windows to Mac
    • Switch Preferences from Women to Men
    That leaves you in one of the smallest possible target audiences for... well... just about anything :-)
    1. Re:Safe Browsing by Anonymous Coward · · Score: 5, Funny

      Your third point is redundant (see second point).

  21. How this would work by joshv · · Score: 4, Interesting

    I doubt Jobs is looking to support running every Win32 binary under the sun - for that you can dual boot. If something like what Cringely describes were to take place, OS X would implement only a subset of the win32 API, but with graphical widgets having an OS X look and feel and perhaps some win32'ish extensions that provide access to OS X specific functionality (spotlight, etc...) This 'subset' API would be different enough that there would be very little likelihood that an unmodified binary would run out of the box on top of this compatibility layer.

    But with a recompile and some refactoring, I bet most windows programs could run quite will under this compatibity layer. What those would do is open up the Mac platform as a viable target for Windows software developers. Recompile under OS X, fix the few quirks, or work around the APIs that aren't present, and bingo, you've got a mac app. With a few IFDEFs you might even be able to support both Mac and Windows versions with the same code base. Software makers like Quicken might find this a very attractive option.