Slashdot Mirror


Apple's Darwin Runs XFree4

Mneme writes "Looks like Apple finally has the open source core of MacOS X up and running on Intel boxen. We'll have to wait until the WWDC is over before we'll get our hands on it, but it's still a very pleasing development. Check out a story about the demonstration, or click below to read the message from the Darwin Developer's list.

Here's the message from the Darwin Development mailing list:

Date: Tue, 16 May 2000 01:11:51 -0700 (PDT)
From: Dave Zarzycki
To: darwin-development@public.lists.apple.com
Subject: FYI: Monday's Darwin demos at WWDC
Message-ID:

On Monday, Fred [Sanchez] and I had the pleasure of demonstrating two very interesting Darwin developments.

First, we demonstrated Darwin running on Intel. Now I know that many of you are interested in this development, and I can probably predict many of your questions (where do I get it, how do I install it, where do I get the source, etc). Please exercise patience as we sort out the details. As you might imagine, we're very busy with Apple's WWDC.

Second, we were able to demonstrate X11 (XFree86 4.0 to be exact) running on Darwin's native I/O architecture IOKit. I had a lot of fun doing this port, which was loosely based off of John Carmack's port of XFree86 3.3 to AppKit on MacOS X Server. What I don't think most people realize, is that it only took a few days to do the port. X11 isn't as hard as some of you might think! ;-)

Please exercise patience with the above, we're very busy with WWDC. We'll try and push the necessary information out as soon as I can.

davez

--
Dave Zarzycki
MacOS X & Darwin
Apple Computer, Inc.

14 of 155 comments (clear)

  1. Re:Someone help me out here by PenguinX · · Score: 3

    As much of a Linux bigot as I am, now a "major" desktop player that conforms to the "major" - binary software developers (such as Adobe, Quark, etc.) will have to begin developing in Unix-like environments. This will mean that a step to PPC or x86 BSD/Linux or gads Solaris is really easy. MacOSX will redesign the ease of use for Unix and as terrifying as it may be to behold -- that is what sells. Because of this there may yet again be cross platform games, and a software store that you walk into and see not only Microsoft this and that but MacOSX games, productivity, and other software Linux games, and BSD games.

    (I know the games are what we want the most ;>)

    MacOSX is standing up to the Wintel duelopoly, and saying "screw you - there is a better solution". Apple has been noted for "shaking up the market" before, and if they can pull it of if they suceed then software companies will be forced to develop for a wide diversity of platforms.

    Sound like a good reason? ;-)

  2. Re:Apple Reality Check by MacOSNeedsDeath · · Score: 3
    Mac OS X Server uses a Mach 2.5 kernel with NeXT extensions. It is to Mac OS X as BSD 4.4 is to Linux. It is a kindred spirit in some ways, but it is a completely different OS.

    Mac OS X uses a Mach kernel based on the same OSF Mach 3 kernel MkLinux used.

    OS X is not like NT, with a server and a workstation version. OS X Server is OpenStep with a poor faux-Mac interface and nonstandard networking administration tools. OS X will replace Server.

    Apple originally said that hardware would ship with OS X in January 2000, not December 2001 - where did you get that date?

  3. How about the other way around? by ceswiedler · · Score: 4

    ...can I run the Mac GUI instead of XFree on my Linux box?

    Yeah, yeah, free software and all, long live KDE and Gnome, but Mac does GUIs well. If they sold their GUI alone as a windowmanager, I'd snap it up.

  4. Go Darwin! by toupsie · · Score: 3

    For all the blasting of Apple, I find it very cool that they are allowing the core of MacOS X to migrate to other platforms. If and when Apple allows Quartz, Aqua and the other various high level components for MacOS X to migrate, then the Joe Average Windows consumers (not you Linux Boxen Elite) might have an OS worth moving too. For as much as I love Linux for serving files, I really would not feel comfortable moving my Windows based employees to this great platform and expect them to hit the ground running as I have when moving them to a Mac.

    Maybe in the future, Linux will hit the Joe Average Masses but I think MacOS X Intel might beat Linus to the punch. 20 Years of UI research at Apple is hard to combat but those Eazel folks might surprise us all.

    --
    Strange women lying in ponds distributing swords is no basis for a system of government.
  5. Re: Compatability? by naasking · · Score: 3

    Neither. X was ported over to Darwin because one console is practically useless to do any coding. Right now Darwin has absolutely no graphical interface whatsoever, so usability was limited.

    Now with X up and running, alot more developers may begin to see Darwin as a viable platform for development and porting. That was the goal. To get a fully functional and usable system.


    -----
    "I will be as a fly on the wall... I shall slip amongst them like a great ... invisible ... THING ... !"
  6. OSX on Intel and M$ vs DOJ by yuriwho · · Score: 3

    It was rumored that Apple made a quiet "deal" with M$FT not to port OSX to Intel in exchange for continued Office support on the Mac. Perhaps Apple is really getting ready to become a software company now in light of the DOJ vs M$FT rulings. I don't think they would loose that much in hardware sales if support and drivers for the Mac hardware were kept superior during full rollout of the x86 versions of the OS. If they start making serious money selling an x86 based OS (or GUI, Aqua + quicktime + finder etc.) they could bring the level of support up.

    It would be a big gamble but one with potentially huge payoffs. I can dream can't I ;-)

    --
    no sig.
  7. Mac OS X on Intel by Frac · · Score: 3
    Two articles of interest (read them first):
    Motorola, IBM - cold warriors
    Darwin on x86 - Apple's Intel interest

    Given that it's the Register for God's sake, we should take the news with a lot of salt. But their analysis seems well-founded, so Apple flirting with the idea of getting Mac OS X running on the x86 architecture doesn't seem too impossible. Getting Darwin to run on x86 is certainly a big step, and who knows - maybe Apple will get go the SGI-way of building highly-customized x86 machines if the IBM-Motorola partnership falls apart.

    Go get your free Palm V (25 referrals needed only!)

  8. Re:Neither flame nor troll by Dandy · · Score: 3

    "Why would I run MacOS X on intel when I can already run Linux or one of the BSDs?" The question could just as easily be, "Why run NetBSD on Intel when I could run Solaris x86 on Intel? Or the GNU Hurd? Or plain old Mach with the standard BSD personality?" Why run any Unix-like OS on your PC instead of any other? The answer is different strokes for different folks. All the various Unix-like OSen are just different enough from each other to make some people prefer one over the others.

    Ok, that probably was not the answer you were looking for, so let me mention some of the technical features that MacOS X sports which you won't find in Linux or *BSD. The biggest difference that I can think of is the I/O and driver model that MacOS X uses. The IOKit is an OO framework for developing and making use of I/O and hardware drivers that was created from scratch by Apple mainly becuase FreeBSD's I/O subsystem didn't support the dynamic "plug-and-play" functionality that Apple wanted. Another big advantage that MacOS X has is its scalability to multi-processor machines. This is entirely due to the use of Mach as the core microkernel. One of Mach's original design goals was to be highly scalable on both closely coupled (a la SMP) and loosely coupled (a la Beowulf) multi-processor systems, and it shows in Mach's extensively multi-threaded and modular nature. There are also supposedly lots of fun things you can do with Mach's message passing/IPC facilities, but I don't know too much about that.

    --
    ----Daniel Pearson of the UMBC LUG
  9. Re:What is the comparative performance? by jht · · Score: 4
    I can recall a story from long ago and far away that once upon a time apple had an earlier version of one of their OS recompiled and running on and intel platform.

    they dropped the project because it ran a bit faster than their own official Apple hardware, and they didn't want to shoot themselves in the hardware department.

    There was a project to port MacOS to Intel, called "Star Trek" internally if I recall. And from what I remember of it, they had amazing initial success getting the OS up and working, and most of the functionality implemented. "Most" is key here. It was pretty fast (though PowerPC itself had a big performance lead at the time, Apple's supporting architecture was dog-slow), but there were still a good amount of key features not implemented yet at the demo point. Apple's good at getting an OS project most of the way there - it's the last 25% or so that kills them.

    Ultimately, Apple decided to stick with PowerPC, and they have since based their hardware on faster stuff that's comparable to the state of the art in PC hardware (100 MHz bus, AGP, ATA-66, etc). So an Intel port for the "classic" MacOS (which is what Star Trek was) wouldn't be relevant and a waste of time and resources. That said, OS X on Intel would be a different story, and if Apple ultimately supported OS X native and Carbonized MacOS (through emulation - a recompile would be a killer) apps on an OS X Intel port, it would probably be a Good Thing. But they need to concentrate on their own platform before they give serious thought to a port. The fact that Darwin (the core of OS X) runs on Intel helps show that it's not too far from their minds.

    - -Josh Turiel
    --
    -- Josh Turiel
    "2. Do not eat iPod Shuffle."
  10. Re:Compatibility? by Draoi · · Score: 3

    ... is Aqua something that actually runs on X11
    Aqua runs on what Apple is calling Quartz. This is based on Adobe's PDF format. So, nope, not X11, and I'm guessing Apple won't be in a big hurry to open Quartz sources anytime soon ...

    Pete C

    --
    Alison

    "It is a miracle that curiosity survives formal education." - Albert Einstein

  11. Apple Reality Check by maggard · · Score: 5
    OK, lots of Slashdotters are really out of touch with the Apple & the Mac market. Here's a few points to keep folks on the reality track:
    • Apple is a hardware company. MacOS is simply another way of selling their boxes.
    • Apple is not interested in becoming a OS vendor. They have a closed platform to develop for and know their limitations: the wild-'n'wooly world of Intel x86 boxes is not a profitable place for them. They've stated repeatedly and has the numbers to back it up: they're not going to become an OS vendor. They're more likely to start selling hairdryers (or the fabled iBrator) then shrink-wrapped MacOS-X-for-Intel-x86 at Wal-Mart.
    • The chance of Apple opening up Quartz, Carbon, Cocoa, QuickTime, or Aqua to Open Source or GPL is something approaching nil. These are the technologies Apple has paid a pretty penny to develop and their customers pay a premium to use. If you were an Apple stock-holder would you want them to do so?
    • Apple never had "clones" (Apple's proprietary "Toolbox" embedded in a ROM stopped that.) They did have a "licensing program" with which they attempted to reach markets that Apple itself couldn't. They killed the program when the licensees started to savage Apple's core markets. Apple was loosing money on both the licenses and on the lost sales - not a smart move for a company and one they eventually stopped. Oh - and Power Computing? it was about to collapse anyway as it's financials proved out.
    • Apple is again over 5% of the market and growing quickly. That doesn't mean they're about to challenge MS's OS dominance but they're going strong and expanding their market. That's not bad for a company that was written off a few years ago.
    • Darwin is not the same as MacOS X - it's simply the Next-derived Mach kernel and support services. Yes, it's the base layer, but it's not the goodies. Getting it to run in Intel x86 is no great feat - NextStep was ported to 5 CPU's already including Intel x86 (PowerPC, Sparc, Alpha, MIPS.) All Apple's done is maintained that Intel x86 portability for the kernel. The big question would be if Apple could do the same for the other layers such as the Quartz rendering layer or the Aqua interface. Without those you've just got a very nice, very mature formerly-commercial Mach implementation - hot but not MacOS X.
    • MacOS X has been shipping for well over a year. MacOS XServer is available at your local Apple Vendor or direct from Apple. What everyone is talking about is the MacOS X Workstation implementation. While everyone's been staring at that hand though Apple's been busy learning and tweaking with the Server version so when it finally ships the rest they'll have it nailed.
    • Porting to Darwin won't be any more difficult then porting to any other BSD. With X now in place it'll be that much easier to use an interface. The big question will be how easy it'll be to make those same apps work through the Quartz/Aqua layers and become "native". If it's as straightforward as it now appears then Apple may have a tremendous position sitting at the crossroads of the market.
    • Don't ignore the contributions Apple can make to the market as a whole. They've already pioneered the use of XML for putting a uniform graphical interface on the notoriously idiosyncratic *nix config files.^1 They also provide a great transition market for ISV's heading towards the *nix market but wanting to go through a more traditional platform. This could well be the *nix for "the rest of them" (the non-geek population.)
    • As to behind schedule - well the beta is indeed going to be a few months behind schedule. How does this affect the rest of the timeline? Well, Apple hasn't changed their "will ship pre-installed in December 2001" commitment. Furthermore with Apple's Unified Motherboard Architecture finally in place (gone are the days of 50 models a year all with unique slots and ROMs and bus variations!) this looks like a legitimate possibility.
    • Finally, remember Apple has been a massive developer of cool ahead-of-their-time technologies. Apparently Jobs has been going through the warehouse and pulling some of these off of the shelf now that they've a strong OS and a massively powerful CPU to ride upon. Expect to see some surprises coming out from Apple - Jobs is ever the showman and no slouch when it comes to hot tech.

    -- Michael

    1. Yes, some invariably CS Sophomore will pop up saying *they* thought of whatever, in this case XML-based forms for providing a uniform interface to the various config files years ago and mebbe they even have a few lines of code somewhere - well it didn't really happen then and Apple has now made it so. That alone is "A Good Thing".

    --
    I don't read ACs: If a post isn't worth so much as a nom de plume to its author then I wont bother either.
    1. Re:Apple Reality Check by maggard · · Score: 3
      Eeeps - mistake.

      Make the ship date for Mac OSX Consumer pre-installed January 2001 (not 11 months later.)

      Actually, a bit more on ship dates. I'd like to note that Next was usually quite good about getting things out on schedule and back under Jobs Apple's ship-dates and product-avialability have improved dramatically.

      -- Michael

      ps - For the l00sers who constantly post to every story saying "Please explain this to me" or "What does XYZ mean" fer Cthulus-sake this is news for GEEKS on the freaking WEB! Just how damn hard is it to actually look up something on your own? It's not like your ass has to ever even leave it's comfy chair... If you're lost with things like Carbon, Cocoa, Darwin, etc. then why not just go to the obvious place like apple.com or at least to a search engine before bleating out your ignorance.

      Sorry, but every time an interesting story comes out 30% of the postings are from folks who couldn't be bothered to actully read the reference material before compulsively posting and another 30% are from folks too lazy to make at least an attempt to look up something for themselves (hint: your butt is at the end of your thumb!)

      --
      I don't read ACs: If a post isn't worth so much as a nom de plume to its author then I wont bother either.
  12. Compatibility? by molog · · Score: 3
    Was this done to bring over Unix apps to Darwin/MacOS X, or is Aqua something that actually runs on X11? Well it definitely looks like Darwin can be considered a full fledged BSD system now but what is Apple really trying to do?
    Molog

    So Linus, what are we doing tonight?

    --
    So Linus, what are we going to do tonight?
    The same thing we do every night Tux. Try to take over the world!
  13. Make use of legacy hardware? by Croaker · · Score: 5



    How about this... say Apple is making a play for the server market (go ahead, say it!). Let's suppose an IS administrator is sold on the Apple OS X server platform but... he has a server room full of x86 legacy hardware. Ripping out all of those machines and replacing them with new Mac hardware, while great for Apple, would put the cost of moving over to the Mac platform out of reach.

    Along comes Darwin, which for many server-level tasks looks like OS X. The Apple folks can sell the IS folks on upgrading their exisitng x86 hardware to Darwin, making it interoperate with the new OS X servers, and down the line the customer will very likely replace the x86 hardware with more capable and more compatible Macs.
    </wildassguess>