Slashdot Mirror


Running Mac OS X Binaries With NetBSD

An anonymous reader writes "KernelTrap has an interesting article about an effort to add a Mach and Darwin binary compatibility layer to NetBSD. The project has evidently already made a fair amount of progress, currently working to stabilize the WindowServer emulation portion that will then allow NetBSD to run Mac OS X graphical applications."

177 comments

  1. The shell? by Anonymous Coward · · Score: 0

    Will it be able to run the MacOS X shell, dock and finder?

  2. Fantastic by Evil+Adrian · · Score: 4, Funny

    That's great, really, but what is there to discuss? Now we can run apps from OS X on OS Y (my apologies), happy day. Next topic!

    --
    evil adrian
    1. Re:Fantastic by vesamies · · Score: 1

      I'm a bit lost too about what to say (say nothing :). I guess people want their OS to have all possible bells and whistles. All other (than mac) NetBSD's ppc ports seem to run on quite exotic hardware and if you have a mac you want macos-x too, right?

    2. Re:Fantastic by demon · · Score: 1

      Not me - I desperately want a Powerbook G3 Pismo, but I do _not_ want OS X. I'd much rather run Linux, and run OS 9/X in a window via MoL if I need them. I like Apple hardware, but like at least a few other posters here, I'm still not that thrilled with Apple's OS, even with the advent of OS X.

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    3. Re:Fantastic by Anonymous Coward · · Score: 0

      NetBSD might not be for everyone but FreeBSD pretty much is. It shouldn't be long before FreeBSD has the compatibility layer too once NetBSD guys sort out stuff. Then you can run your linux and OS-X apps, have great ports and packages tools and use your beloved apple hardware at the same time. One might miss the linux kernel but I hope you are not one of those guys.

    4. Re:Fantastic by Anonymous Coward · · Score: 0

      netbsd on the desktop rocks

      pkgsrc rocks

      ports is bloated with zillions of non-working ports

  3. Great idea by nurb432 · · Score: 1, Redundant

    Now one can run native Xapps, windows AND OSX apps on a unix box.. ( in theory at least )

    Best of all the worlds combined. Run the app you need, on an OS you can trust.

    --
    ---- Booth was a patriot ----
    1. Re:Great idea by __past__ · · Score: 3, Funny

      ... you only have to make sure both your windows and OS X binaries are for the same processor architecture.

    2. Re:Great idea by Pius+II. · · Score: 1

      Which is possible: I have Windows NT 4.0 PPC and DevStudio 5.0 can compile with NT PPC as target. Of course, porting to BSD would probably be easier than using WinePPC (is there such a thing?). BTW, some old Mac programs are ported so badly that you could almost call them "windows binaries", too. E.g. C&C 1 uses DirectX, and I've still got a MFC 4.0 OLE library in my extension folder :-(

    3. Re:Great idea by AtATaddict · · Score: 4, Informative

      Umm.... you could just buy a Mac and VirtualPC, then install Xfree86 in rootless mode. Seems like a simpler means to the stated end, considering that a Mac running Mac OS X is a "unix box".

    4. Re:Great idea by Anonymous Coward · · Score: 0

      WineLib can run on PPC fine. But I'm pretty sure you can't run an NT/PPC binary.

    5. Re:Great idea by bhawbaker · · Score: 0

      or just install XFree86 on Mac/OSX and run it rootless.. no need to emulate anything.

    6. Re:Great idea by bhawbaker · · Score: 0

      never mind.. misunderstood the msg.. your right, just use xfree86 and virtual ppc

    7. Re:Great idea by kraksmoka · · Score: 2
      i agree with you. however, some of us just can't wait for NetBSD to follow the largest and most popular BSD based *nix OS . . . . i can already do what they're just gettin runnin for NetBSD.

      now i'm really lookin forward to installing NetBSD on my Quadra 660av. kudos to NetBSD!

      --
      "You never want a serious crisis to go to waste." - Rahm Emanuel
    8. Re:Great idea by Anonymous Coward · · Score: 0

      whee, you get to use a proprietary terminal emulator. aren't you l33t!

    9. Re:Great idea by kraksmoka · · Score: 0, Flamebait
      don't usually do coward replies.

      nice to use debian apt-get on windowmaker along side the proprietary shite . . . yes, i'm l33t, you're a Luser.

      --
      "You never want a serious crisis to go to waste." - Rahm Emanuel
    10. Re:Great idea by DeadInSpace · · Score: 1
      Now one can run native Xapps, windows AND OSX apps on a unix box..
      Actually, running Windows apps on NetBSD will prove quite hard, since Wine doesn't run on NetBSD.
      Quote from the Wine FAQ:
      NetBSD, OpenBSD, Unixware, and SCO OpenServer 5 worked at one time, but Wine now requires kernel-level threads which are not currently available (or understood by the Wine team) in those platforms.
  4. Neat but... by MBCook · · Score: 2

    That's pretty cool, but personally I'd probably just run OS X, it's a very nice OS. I can see where this would be nice though. Now if they can make this run on x86s (I know, VERY though, that requires emulating a ton more stuff) then I'll rush to download it.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    1. Re:Neat but... by fdisk3hs · · Score: 2, Interesting

      The point is that you can run Mac OSX, Irix, Linux, Solaris, you-name-ix binary precompiled even commercial software on a PPC machine running NetBSD. EVEN machines that don't support OSX, like that iMac 233 or PowerMac 180 that you have sitting around... Sounds useful.

      But, yes- you can only run PPC binaries. M68k or x86 will not work.

      lr

    2. Re:Neat but... by Mononoke · · Score: 1
      EVEN machines that don't support OSX, like that iMac 233 or PowerMac 180 that you have sitting around... Sounds useful.
      I don't know about the PowerMac, but: Since when does OSX not work on an iMac 233?

      I'm running on an even older beige G3, no problem.

      --
      NetInfo connection failed for server 127.0.0.1/local
    3. Re:Neat but... by Octorian · · Score: 2

      Ok, so when did IRIX or Solaris run on PowerPC? Just because they provide binary cross-OS compatability, doesn't mean they also provide processor emulation. This emulation is probably just a system-call shim layer, like FreeBSD's Linux emulation. The code still runs native, but syscalls are translated and sometimes emulated.

    4. Re:Neat but... by Stonent1 · · Score: 1

      Irix:No
      Solaris:Yes

      Solaris PPC

    5. Re:Neat but... by Anonymous Coward · · Score: 0

      Get into the 21st century jackass.

      Hell, get a job you can pick up a descent machine cheap.

      Does it run fine on my apple ][ ?
      geeze.

    6. Re:Neat but... by Anonymous Coward · · Score: 0

      English: NO

      god, are you some SPIC, WOP ?

  5. Of course it runs NetBSD! by Anonymous Coward · · Score: 0

    NetBSD has conquored the Mac! ;)

  6. Linux port? by Selanit · · Score: 1, Interesting

    Very cool. I wonder if it could be ported to Linux once they've got working okay on FreeBSD. Then Linux would be able to run Mac OS X apps -- the Mac OS X versions of Photoshop and Word come to mind. One major barrier to the adoption of Linux on the desktop is the percieved lack of familiar applications, and Photoshop and Word are high on the list. Word has been pretty well taken care of by the Crossweaver WINE stuff, but Photoshop is still missing. Gimp is great and all, but most graphics professionals would rather keep using the package they're already familiar with than try to learn a whole new one, which is frankly often not as capable as Photoshop.

    1. Re:Linux port? by bconway · · Score: 1

      You realize this is only for NetBSD/PPC, right? I'm sure this would be great news for the Linux PPC users, but it won't affect most of us. Stick with WINE, I guess (CrossOver Office is very sweet, though).

      --
      Interested in open source engine management for your Subaru?
    2. Re:Linux port? by Anonymous Coward · · Score: 0

      PPC Linux maybe, but that wouldn't help on the desktop. x86 Linux would be much more difficult.

    3. Re:Linux port? by damiam · · Score: 2, Insightful

      Running Photoshop or Office would require a complete reimplimentation of Quartz, Aqua, Carbon, and quite a few other OS X technologies. Besides, even if successful, it would only work under LinuxPPC. The work necessary to get Wine to run Photoshop well is a small fraction of what would be needed to port all OSX API's to Linux.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    4. Re:Linux port? by jelle · · Score: 2

      Time for a PlexPPC, similar to Plex86...

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    5. Re:Linux port? by KAMiKAZOW · · Score: 5, Interesting

      Mac-On-Linux

      What Is Mac On Linux?

      Mac-on-Linux lets you run MacOS under Linux/ppc. MOL runs natively on the processor, i.e. it is very fast. Unlike most mac emulators, MOL can run MacOS 8.6 and later WITHOUT A ROM IMAGE.

      Feature List

      - Supports MacOS 7.5.2 to 9.2.2, 10.1 and 10.2
      - Linux can be booted inside MOL
      - Full screen video
      - MMU accelereaded X video
      - Audio support
      - Block device support (Ide, Scsi, Zip, Jaz)
      - ADB & USB support for mouse and keyboard
      - Ethernet
      - Runs natively - good speed!
      - Very compatible
      - Idle sleep (8.6 or later)
      - Session save and restore (temporary unavailable)
      - AltiVec support
      - Multi-session support


      OK, it's not binary compatibility, but unlike COMPAT_MACH and COMPAT_DARWIN it does already work. But COMPAT_MACH and COMPAT_DARWIN are very interesting and worth keeping an eye on it.


      Oh, BTW.... From the MOL-FAQ:

      Q: Does it run on i386 hardware?
      A: No, MOL can only run on PowerPC hardware since no emulation is performed. However, adding a PowerPC emulator for x86 is under consideration.

    6. Re:Linux port? by Anonymous Coward · · Score: 0

      Why would you reimplement them when you could just run Apple's binaries?

      (That was the whole point of TFA, BTW)

    7. Re:Linux port? by KAMiKAZOW · · Score: 2, Informative

      It does alredy exsist. It called Mac-On-Linux.

    8. Re:Linux port? by MrWa · · Score: 1
      One major barrier to the adoption of Linux on the desktop is the percieved lack of familiar applications, and Photoshop and Word are high on the list.

      This is the most often reason for Linux not being adopted on the desktop that I see. Why does it matter? What would possess someone to switch OS's just to use the same program that has been shoehorned into a different OS? If something is working (i.e. Photoshop running on an Apple) there isn't a compelling reason to switch. The percieved lack of familiar programs is usually just preventing people that already using Linux from using it full time.

      If Photoshop or Office was native to a Linux desktop then that may put a dent - but only a very small dent, look at Apple's success - in the desktop world. Why is it so hard for Linux advocates to accept that Linux belongs as a server, for now. Now that it has pretty, user-friendly UI's people want to force it on the desktop for everyone...maybe that isn't right, though.

      It would take some killer app (or a significant outside influence) to get the regular Joe-user to switch from a system that works to the point they expect (i.e. Windows, with the occasional crash now in XP) to Linux.

    9. Re:Linux port? by IamTheRealMike · · Score: 3, Insightful
      Very cool. I wonder if it could be ported to Linux once they've got working okay on FreeBSD. Then Linux would be able to run Mac OS X apps

      You're making a lot of assumptions. Firstly, that such an emulation system could be completed in any reasonable amount of time, and could keep up with Apple. Obviously, that isn't the same kind of issue as it is with Wine as Apple is a lot smaller, and to be frank, Windows has far more APIs and features to the developer than OS X does (at present).

      Secondly, you're assuming Apple would let this happen. They can't stop a cleanroom implementation, but they can copyright the artwork which is a big deal to Mac users. Wine has to have its own artwork for instance (but not for the widget toolkit, as the Win98 L&F is so basic it can't really be copyrighted). Not that nice distinctions like code vs art would bother Apple, they have a long history of abusive lawsuits.

      Finally you're assuming that such an emulator could emulate PPC opcodes at a reasonable speed, which is a) hard and b) unlikely.

      Bear in mind that doesn't say "You can run MacOS apps on NetBSD", far from it, they have some of the basics of Mach IPC working. They haven't even started on graphics support. If there's something we've all learnt from Wine (which has 2 companies working on it as well as hundreds of volunteers), it's that cloning another OS's APIs is a lot of work, and as most of the MacOS APIs are not simply lifts of their UNIX equivalents, they are Apple proprietary (iokit/coreaudio etc), that's no less amount of work.

    10. Re:Linux port? by Graymalkin · · Score: 2

      Please stop comparing COMPAT_MACH to WINE. The WINE project is attempting to build cleanroom implementations of the Win32 API. The COMPAT_MACH folks are working on binary compatibility. If you want to talk about APIs look up GNUStep which is an implementation of the OpenStep specification. That is a project more analguous to WINE because it is actually attemping API reimplementation. If this project gets everything working it could allow NetBSD to be a drop-in replacment for Darwin as a BSD subsystem and kernel. WINE and GNUStep on the otherhand would be drop-in replacements for application level APIs.

      --
      I'm a loner Dottie, a Rebel.
    11. Re:Linux port? by Henk+Poley · · Score: 1

      You forgot to mention this special fact from the Mac On Linux homepage.

      "News Flash:
      Sep 5: It is now possible to boot MacOS X in MOL."

      Which links to..

      "Hot News:
      Sep 5: Boot MacOS X in MOL 0.9.65!

      It is now possible to run MacOS X within MOL. Both MacOS 10.1 and 10.2 are supported. The new MOL version also contains support for little endian (remote) X displays. A couple of performance improvements have also gone into this release."

      Q: Why don't they port this to BSD, instead of reinventing the wheel?
      A: This is OpenSource dude, don't you get it?

    12. Re:Linux port? by norwoodites · · Score: 2

      *BSD's COMPAT_* are better than MOL and plex86 because there is no overhead of a secondary kernel.

    13. Re:Linux port? by demon · · Score: 1

      We run Linux because we like Linux. I use it as a desktop. I admit it's not right for everyone, but I'm quite happy with it as a desktop, and wouldn't run either Windows or OS X. (And I've used, and come to like quite muchly, PowerPC hardware for running Linux.)

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    14. Re:Linux port? by drinkypoo · · Score: 2
      Finally you're assuming that such an emulator could emulate PPC opcodes at a reasonable speed, which is a) hard and b) unlikely.

      Opcode emulation is probably the easiest part of emulating the PPC. Much harder is the emulation of all those registers with the handful in x86. This will be much easier with x86-64 (AMD) because you have twice as many registers, but you still have to determine which registers are being acted on and swap the contents of registers in and out as you go -- basically, the same thing modern CPUs do internally to reduce the cost of context switches (register renaming) except you're going to have to do it in software. You might be able to avoid that in the case of a transmeta CPU, but the proper way to do that with a TM chip is to make it emulate a PPC anyway. I really hope someday transmeta manages to emulate something other than x86, and further that we end up with systems with multiple TM CPUs on them so that we can emulate multiple CPUs of different architectures.

      Incidentally, CPU-manufacturing companies are really goddamned annoying. Why oh why can the FACT SHEET for a processor not tell you in simple terms how many general purpose registers it has? You have to go all the way to the user manual... Anyway the G3 has 32 GPRs and 32 FPRs (floating point), I had that noted down already and didn't want to look up the G4 to see if it has more (it probably doesn't, except for altivec.) I'm only familiar with four GPRs on x86; [E]AX through [E]DX. There are a number of index registers, many of which can be used as GPRs, but which in practice nearly always must be used for their design purpose. Of course motorola uses GPRs for indexes so the real number of usable GPRs is closer to four times as many than eight times as many as it at first appears.

      In any case that's a LOT more registers! You think context switches are bad now...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    15. Re:Linux port? by charleschuck · · Score: 1

      the Mac OS X versions of Photoshop and Word come to mind.

      Would this compatibility layer actually be able to run these once finished, even with the Mac libraries? Maybe I'm just forseeing problems where none will exist, but don't some carbon apps use CFM instead of Mach-O (can a Carbon app even use Mach-O?) Would LaunchCFMApp take care of this, given a copy of OS X's libraries?

      Further, what about resource forks? UFS sure as hell doesn't support those, without some kludge (compare, for example, the way OS X stores resource forks in dot-underscore files on NFS, etc.)

      I guess that this might be a nice way to run Cocoa apps, at least. I just wonder about reverse engineering all the minor hacks that Apple had to make for running Carbon apps.

      -Charles

    16. Re:Linux port? by axxackall · · Score: 2

      I've saw once such "COMPAT" - Wine. Comparing to stable and fast MOL, Wine is crashy and slow. I don't expect good results from BSD if they will do it like Wine.

      --

      Less is more !
    17. Re:Linux port? by Anonymous Coward · · Score: 0

      Where's the source code??

    18. Re:Linux port? by fgodfrey · · Score: 2
      They won't, at least if it's as good as the other COMPAT stuff in NetBSD. You can boot (and I have done so - don't ask why, you don't wanna know) a Sun 3 with a full SunOS install with a NetBSD kernel instead of a kernel from Sun. You can even run (once again, don't ask but I've done this) SunOS binaries on a pre-PPC Mac running NetBSD.


      Basically, what the COMPAT stuff emulates is not the somewhat ill-defined layer between libraries and applications in Windows, but the very well defined (and open-sourced) layer between the kernel and user-land. In order to make it useful, I'd suspect you'd need almost a full OSX installation.

      --
      Go Badgers! -- #include "std/disclaimer.h"
    19. Re:Linux port? by Anonymous Coward · · Score: 0
      four GPRs on x86
      What the hell were they thinking anyway? I guess it had something to do with the fact that most instructions use a memory address too. Buggered up x86....why can't the world just use MIPS? :)
    20. Re:Linux port? by axxackall · · Score: 2
      So, basically COMPAT on NetBSD works the same way as MOL, doesn't it?

      Or, wait, what about devices? The biggest problem of MOL is that every device has to be reimplemented. As a result, today the MOL user can forget about virtually all USB and Firewire devices: printers, scanners, cameras. Is this the same problem with NetBSD's COMPAT?

      --

      Less is more !
    21. Re:Linux port? by fgodfrey · · Score: 2
      Well, I'm not terribly familiar with this particular implementation, but that's not quite the same as MOL. MOL basically allows you to boot MacOS (X or Classic) in a "virtual Mac" that runs under Linux/BSD/whatever. The COMPAT stuff allows the NetBSD kernel to replace the normal OS kernel. So, only a single kernel is running, which means that all your devices and filesystems should be identical under OSX as under NetBSD whereas with MOL, you have the standard BSD or Linux kernel plus the Classic or OSX kernel on top of it.


      Under most versions of Unix, there is a very similar interface between the user application and the kernel. Basically, the COMPAT stuff just says "Well, this program is a MacOS X program so when it makes a call that looks like A, it really means B under NetBSD so go do that and I'll reformat the results back to what the binary is expecting". The result is that the OSX binary is really running natively under NetBSD so any device supported by the NetBSD kernel *should* be supported by OSX. It looks like their present state is trying to get enough of the OSX device interface working for that to happen.

      --
      Go Badgers! -- #include "std/disclaimer.h"
  7. Time to get a PPC computer by The_Mutato · · Score: 1, Redundant

    I was thinking of getting a PowerPC computer and install GNU Darwin on it, but unfortunately GNU Darwin is dropping PowerPC and Cocoa support, so it is kind of useless. Considering that NetBSD runs just about every computer out there, the ability to run OSX binaries is greatly appreciated. I really hopes this becomes popular and that is really DOES run OSX binaries well, cuz then I'll be VERY happy. Mmm. OSX compatiblilty...

    1. Re:Time to get a PPC computer by marmoset · · Score: 1

      Why bother with GNU Darwin and their screwy politics? You'd be much better off installing the base Darwin distro from Apple and then installing Fink or Darwin Ports on top, both of which are active and well-supported on PPC.

    2. Re:Time to get a PPC computer by andrewski · · Score: 1

      If you really want to get crazy, you can run Fink and Darwin Ports together!

  8. This is excellent news! by Anonymous Coward · · Score: 0

    Fuh-fh-finally, Mac OS X on the x86 platform! Initially I thought th-that it wasn't as good as that, since important parts like Cocoa, Aqua, and all the libraries wouldn't be ported.. besides, much of OS X is written in assembly language, but no.

    I checked out the site:

    The abstraction layer for running Darwin ports allows a drop-down parser to JIT any assembly language into a psuedo-C for emulation at the application level. OS X on x86 is definitely a reality.

    Seems I was wrong. I can't wait to be running OS X and all my favorite apps on my PC. This is just what we needed.

    1. Re:This is excellent news! by Anonymous Coward · · Score: 0

      Yeah, and once we've IPO'd the API's and cross-compiled the mux subsystems for the TRX's, we'll be able to drill down to the C library layer and open a port for the worm.

      I think I just soiled myself.

      Oh no, that was you. You dirty fucking faggot.

  9. That's great news but... by guroove · · Score: 5, Insightful

    It's only the NetBSD/powerpc port. The biggest problem with MacOSX is that it only runs on Macs. If I'm going to pay all that money for a shiny new Mac, I'm going to run Apple's shiny new operating system.

    --
    Someone stole my old sig.
    1. Re:That's great news but... by Anonymous Coward · · Score: 0

      ...You have Genesi's Pegasos, and the Teron CX design packaged as Eyetech's AmigaOne (with decryption 'dongle' for AmigaOS4), and Terrasoft's Boxer to choose from.

      Plus, the upcoming Barbie board (LinuxPPC.org, is it?), and probably a host of other MAI-based solutions on the horizon.

      The upcoming Teron PX/"AmigaOne G3-XE" should accept standard Mac "MegArray" accellerator modules, so G4s (and dual G4s) shouldn't be out of the question on an Apple-free solution... IBM's upcoming 970 will need a new generation of chipset, but I imagine both IBM(/ATI?) and MAI have things up their sleeves for that.

    2. Re:That's great news but... by Ponty · · Score: 1

      And all of those words describe like fifteen boxes that actually exist on desks somewhere.

  10. That's awesome by Burgundy+Advocate · · Score: 5, Insightful

    But one question: is there anything Apple can do to stop this?

    If you remember, they've been *very* anal in the past about some things they consider to be "their stuff", such as the look and feel of the OS. I can't see them just sitting around and watching while all their OS capabilities are matched (or, for that matter, exceeded).

    If they sent C&D letters for freakin' themes, I doubt they'll just sit around while their API is emulated. They've show themselves to be rather devious, and I'd be a little worried if I was a NetBSD developer.

    --
    Dragging people kicking and screaming into reality since 1996.
    1. Re:That's awesome by Doktor+Memory · · Score: 2

      Note that this only appears to be working in the PowerPC port. Apple has been, so far, pretty laid back about the MacOnLinux project, which emulates classic MacOS on top of LinuxPPC boxes -- after all, you have to buy their hardware either way.

      We'll see if they start "Thinking Differently" about that approach now that it's OSX involved instead of Classic, but I'd be at least slightly optimistic: they haven't tried to shut down the GnuStep projet recently, and that's much more of a danger to them than this.

      --

      News for Nerds. Stuff that Matters? Like hell.

    2. Re:That's awesome by Ponty · · Score: 2

      Isn't that because GNUStep is working on the open OpenStep specification?

    3. Re:That's awesome by Anonymous Coward · · Score: 0

      I hate to interrupt your grassy knoll studies...
      but Apple is supporting the effort. Their
      new OS runs on bsd internals. And they've
      opened up large portions of source code for
      others to use. Perhaps you've heard of
      Darwin? It's an OS you can download for
      free.

    4. Re:That's awesome by IamTheRealMike · · Score: 3, Insightful
      If they sent C&D letters for freakin' themes, I doubt they'll just sit around while their API is emulated.

      This project isn't emulating the MacOS APIs, they're getting the basics up and running so they can drop in actual code libraries from OS X. Unlike Wine which is actually recreating all the APIs, this is just a fun hack basically, no danger to Apple as you still need a Mac and a copy of MacOS for it to work.

      I seriously doubt we'll see a Mac equivalent of Wine for a very long time, the amount of effort it takes is just too huge given the absence of any must have apps on the Mac (apps with no equivalent on other platforms). Wine is essential because of the huge amount of software that simply doesn't have Linux equivalents (or not very good ones) and probably never will, ie Lightwave, DreamWeaver, Flash and so on, and of course huge numbers of custom business apps. The Mac doesn't really have any such apps, the closest I can think of are the iApps, but there are lots of equivalents for them even on the Mac itself, and I don't know of any custom business apps that are Mac only.

    5. Re:That's awesome by Graymalkin · · Score: 3, Informative

      Most of Cocoa that doesn't deal directly with Darwin/OSX related functions is basically a strait reimplementation of OpenStep. IIRC the Building Cocoa Applications: A Step-byStep Guide by Simson Garfinkle and Mike Mahoney is pretty much code identical to what was in NeXTStep Programming: Step One: Object oriented Applications.

      A GNUStep application if binary compatible with Mach/Darwin would run without recompilation or localization.

      --
      I'm a loner Dottie, a Rebel.
    6. Re:That's awesome by Anonymous Coward · · Score: 1, Insightful

      Yes, and basically everything they are reimplementing already exists as open source in Darwin...

      So basically this is replacing the Darwin system with NetBSD to allow the proprietary OS X parts to run under a different kernel.

      However, unlike emulating other monolithic Unixen, emulating Mach and Apple's driver frameworks requires a lot of extra functionality, so they are sort of re-creating the Darwin kernel backwards - instead of a Mach kernel with BSD functionality added, it'll be a BSD kernel with Mach functionality added. BSD and Mach have been related quite closely historically, anyhow, consider that the virtual memory subsystem of 4.4BSD was from Mach... And then there is Lites, the BSD kernel that runs as a user process under Mach.

      So we can basically look at it this way - mixing Mach and BSD kernels in various ways has been something people have been doing for a long time, and it doesn't look like people will stop doing it.

    7. Re:That's awesome by andrewski · · Score: 2, Interesting

      Their API isn't just emulated, it's already implemented. It's called GNUstep and it runs on almost any *nix platform, and quite a few non-*nixes as well. Most, but not all, OS X (cocoa) applications will run just peachy with a recompile on many platforms.

      Darwin with GNUstep implements approximately 75% of the functionality of OS X, right down to the resolution independant rendering (GNUstep uses Postscript, OS X uses PDF).

      If everyone is so up in arms about running OS X on their Intel computer, just fucking get Linux or Darwin and run GNUstep. Most freeware for OS X should work just fine if you compile it. Due to the great object-oriented nature of Openstep, you could probably fix any that didn't in a matter of minutes or hours.

      I was running GNUstep (with the Ghostscript back-end) and Windowmaker for a while before I got my Powerbook G4.

    8. Re:That's awesome by rweir · · Score: 2

      I doubt they'll just sit around while their API is emulated.

      'their API', is, to a very large extent, taken from NextStep, which they bought to get Steve Jobs back. It's already been cloned (pretty much) by the GNUStep project.

  11. Now look what you did by eyeball · · Score: 5, Funny

    Oh now look what you did: You woke the swarming team of Apple lawers on a beautiful sunday morning. They're going to be extra pissed.

    --

    _______
    2B1ASK1
    1. Re:Now look what you did by Anonymous Coward · · Score: 0

      Lawyers are evil. They probably get up at 6AM on weekends anyways.

    2. Re:Now look what you did by eyeball · · Score: 1

      Yeah, awake and hanging upside-down in the closet like a bat! :)

      --

      _______
      2B1ASK1
  12. Of course it runs NetBSD! by RAMMS+EIN · · Score: 4, Funny

    Or should that me...of course NetBSD runs it? Whew...imagine the possibilities. NetBSD runs on next to anything, and can run binaries in all those formats. /me installs NetBSD on his watch and tries to load Mail.app Dangit! Doesn't work. What crap is this???

    --
    Please correct me if I got my facts wrong.
  13. Is this a de facto x86 OSX? by Ars-Fartsica · · Score: 2

    Taken to its logical extreme, it appears that these guys would create a de facto x86 OSX. What would be missing? Obviously the OSX UI (could easily be cloned)...and some multimedia stuff. What else?

    1. Re:Is this a de facto x86 OSX? by kakos · · Score: 5, Informative

      Quite wrong. These guys are making a binary compatability layer, not emulation. You will not be able to run OS X applications on an x86 box running NetBSD, only a PPC box running NetBSD.

    2. Re:Is this a de facto x86 OSX? by xanadu-xtroot.com · · Score: 2

      Obviously the OSX UI (could easily be cloned)...and some multimedia stuff. What else?

      What else? I shit load of cash in lawyer fees, that's what.

      I've only "used" OS-X at a Mac Store a couple of times, but REALLY liked it. Like I'd even go so far as to dump all this OSS/Linux/M$/whatever stuff to have one Mac box. It left that great of an impression on me. But what you are suggesting is pure suicide. I would LOVE for Apple (read as: Steve Jobs...) to release an x86 version of OS-X. I'd buy it in a heart beat (I love KDE3.1, but OS-X... mmmm...). But I just don't see that happening. There's FAR too many hardware configs to consider. Apple as only one hardware config to think about: Apple's Hardware. That's REALLY easy to program for.

      Aside, take a look at KDE-Look. There's a couple Window Decrations that are basically OS-X, and then there's Mosfet's widget set. OK, OK, there's more to OS-X than the look of it, I know. I'm just saying that there's MUCH cheaper ways to achive the same goal.

      KDE3.1 + Aqua WD (I forget the exact name, I don't use it) + Mosfest's Liquid Widgets + CodeWeaver's Crossover + the dirt cheap prices of x86 hardware == Heaven (if it's a Mac you're looking for). Just thought I'd say it. We already have most of the parts available to us. It's just the matter of doing it...

      --
      I'm not a prophet or a stone-age man,
      I'm just a mortal with potential of a super man.
  14. You still need a PowerPC machine by zubernerd · · Score: 5, Informative

    to use this, since it is only binary compatability. So You will still need to buy PowerPC based computers. And who is one of the largest and most noted for selling powerPC based PCs... Apple Computer; so why not just run MacOS X?
    I know you can buy third party PowerPC computer, but they are more expense than Apple's machines.
    I do appricated their effort, it is probably a good exercise in programming skill.
    It would be useful if it was on x86, but there are plenty of problems with that; see
    http://www.emaculation.com/ppc.shtml


    (This is not a flame, just an observation)

    --
    Accentuate the positive, don't waste your mod points on the negative.
    1. Re:You still need a PowerPC machine by LizardKing · · Score: 1

      to use this ... You will still need to buy PowerPC based computers. And who is one of the largest and most noted for selling powerPC based PCs... Apple Computer; so why not just run MacOS X?

      Buying an Apple computer complete with operating system means you're unlikely to want to install NetBSD if your already happy with MacOS X. However, have you seen the cost of MacOS X "upgrades"? £100+ in the UK for what is essentially bugfixes and performance improvements in the VM system. Then NetBSD in the long term starts to look very affordable, ignoring the fact that it outperforms MacOS X on the same hardware (quite remarkable until you consider how fundamentally poor Mach is as a desktop OS kernel).

      Chris

    2. Re:You still need a PowerPC machine by damiam · · Score: 1
      100+ in the UK for what is essentially bugfixes and performance improvements in the VM system.

      I'll bet you anything that OSX apps under NetBSD will be significantly buggier and worse performing than under OSX, even unupgraded versions. This looks a lot like Wine for PPC, and we all know how reliable Wine is, even after ten years of development.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    3. Re:You still need a PowerPC machine by markjugg · · Score: 1

      There are still a whole lot of people, like myself, that already own Apple hardware,but are ready to make a switch to a maximally open source solution. This would be ideal for me. I have a G3 300hz PPC, and would like run primarily Linux or {Net,Free}BSD but would still need to use Dreamweaver for my work sometimes.

      Doing the reverse-- running X11 inside of OS X feels like too much overhead and complexity. Typing in X11 applications is often slow this way. Plus, OS X isn't completely open source, so it's hard to tinker with and debug.

    4. Re:You still need a PowerPC machine by Anonymous Coward · · Score: 0

      "so why not just run MacOS X? "

      The same reason you run Wine under Linux instead of just running XP. =) XP comes with most store-bought computers, and before, almost ALL store-bought computers. But instead we do Wine and WineX, as well as Bochs and VMWare.

    5. Re:You still need a PowerPC machine by LizardKing · · Score: 2

      I'll bet you anything that OSX apps under NetBSD will be significantly buggier and worse performing than under OSX

      If, and that's a big "if" at the moment, this compatability layer gets completed then expect OSX aps to run faster and as stable under NetBSD. Why? Well unlike Wine or GNUStep, NetBSD compatability layers don't emulate an environment like Win32 or OpenStep, but a Unix-like kernel. Look at the Linux or Irix compatability layers in NetBSD as an example. By enabling Linux compatability in my kernel, and installing a few application level libraries from SuSE Linux, I can run most Linux binaries on the same architecture.

      So to be frank, you may still need a copy of OSX lying around from which to get those application level libraries (although GNUStep is fast approaching a state where that wont be necessary). On the performance and stability front, look to the glowing reputation of existing compatability layers in all three of the *BSD's.

      Chris

    6. Re:You still need a PowerPC machine by Arandir · · Score: 3, Troll

      WINE offers binary compatibility. So you need to buy a PC pased computer running Windows. And who is the largest seller of Windows for PCs... Microsoft; so why not just Windows?

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    7. Re:You still need a PowerPC machine by demon · · Score: 1

      Wine is 100% fundamentally different. It's a reimplementation of the Win32 API as a huge library, with a custom debugger and an LE/PE binary loader strapped onto it. What these guys are doing is implementing a kernel-space binary loader, and using native libraries and binaries to do the rest. It will run OS X WindowServer and everything else. All they have to do is load and run Mach-O binaries with the interfaces they expect. It's like running Solaris/SPARC binaries on UltraLinux, which has worked pretty well (from what I understand - I don't own SPARC hardware myself, so I only know what I hear) for some time now.

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    8. Re:You still need a PowerPC machine by drinkypoo · · Score: 2
      Today it is true that emulating a PowerPC (especially with 64 bit ppc on the horizon) is problematic but as processor speeds continue to increase it will become more reasonable to emulate processors, perhaps several at once.

      It would be amazingly ironic if netbsd's ability to run on every platform invented since the MMU ended up being coupled later with the ability to emulate a bunch of different processors and actually catapulted it to the top of the technology heap.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    9. Re:You still need a PowerPC machine by tres · · Score: 2, Informative

      If Windows had a native UNIX layer that interfaced with the Windows kernel, then maybe your analogy would actually work. But since there's no real option on a Windows box for using all of the UNIX programs you've come to know and love, it's just not the same.

      (Cygwin is a poor pacifier for the real thing. I know, I still have to use it every day. At best, it works like it's supposed to, but much of the time, it's just a waste of time and effort.)

      --
      Notes From Under *nix: blas.phemo.us
    10. Re:You still need a PowerPC machine by RAMMS+EIN · · Score: 2, Informative

      Nice anology, but you're overlooking a couple of things. First off, OS X is widely seen as a great OS, combining the power and stability of Unix with some nice features of NEXTSTEP and the beauty of Aqua. Windows is widely seen as an unstable and insecure OS that everybody feels forced to use because everyone else uses it. Really, these operating systems are apples and oranges. The same goes for the hardware part. OS X only runs on a slim variety of hardware, known to generally be more expensive than x86 hardware of comparable performance. There is little competition in the PowerPC market, and it's not exactly commonplace to build a Mac-compatible from parts. I would go as far as to say that, where buying Apple machines is the easiest way to get PowerPC hardware, and building from parts is the hardest way (except manufacturing parts yourself) to get a machine capable of running WINE, it's usually easier to do the latter. It's not like you need to buy a PC based computer running Windows to use WINE. You can buy the computer without Windows. You can buy it with Linux and WINE installed. You can even build it from parts without too much effort. Try that for a PowerPC box and tell me if it feels different.

      --
      Please correct me if I got my facts wrong.
  15. Nifty. by Anonymous Coward · · Score: 5, Informative
    Which will come first - Apple cracking down or them getting WindowServer to run on i386? Some info from http://hcpnet.free.fr/applebsd.html

    What works?

    On NetBSD/i386: nothing. On NetBSD/powerpc, most UNIX binaries, such as ls, sh, or vi will work. No Graphical User Interface (GUI) based program will work for now. We are able to startup WindowServer up to the first attemps to use the IOKit. See the kernel traces for WindowServer and for mach_init to discover how far we have been.

    Here is what have been implemented so far:

    Mach-O binaries loading

    Mach system calls handling

    Minimal Mach ports, messages and rights support, so that simple program are able to link and run.

    Signals handling (except for siginfo) Minimal multithreading support

    Support in ktrace/kdump to display Mach messages (useful for debugging)

    Hacks to get mach_init starting (and to get it behaving as bootstrap mach_init)

    Support for port rights carried by Mach messages
    Here is what is in the TODO list:

    Implement Mach notifications for destroyed ports, dead names, and no sender ports

    Re-implement enough of Darwin's IOKit to get

    WindowServer actually displaying something.

    Use COMPAT_MACH for COMPAT_OSF1 (Tru64 binary emulation on NetBSD/alpha), to get multithreading working.

    Get Darwin binaries to link and run on NetBSD/i386

    1. Re:Nifty. by Wesley+Felter · · Score: 2

      Which will come first - Apple cracking down or them getting WindowServer to run on i386?

      I'm betting that WindowServer is a PPC binary; good luck running it on x86.

  16. What about... by Squidgee · · Score: 2, Insightful

    Running Gnustep on NetBSD? It has most of the NEXTStep/OS X libs already ported over to Linux (And therefore easily ported to NetBSD)...

    1. Re:What about... by LizardKing · · Score: 4, Interesting

      Running Gnustep on NetBSD? It has most of the NEXTStep/OS X libs already ported over to Linux (And therefore easily ported to NetBSD)...

      GNUStep is already in the NetBSD packages collection, in several packages split across devel and x11. Install it along with WindowMaker and you've got a convincing NeXT clone ...

      Chris

    2. Re:What about... by SiMac · · Score: 5, Informative

      GNUStep allows for source-level compatibility. This is good for people who plan on targeting Mac OS X as well as Linux, but it's not good for people who want to run Mac OS X apps that run on Mac OS X but not on Linux, such as the Mac OS X window server and Finder. These applications would never be ported to GNUStep, as easy as it is, because Apple wouldn't do it. In addition, this should allow Carbon applications as well as Cocoa applications to run on NetBSD.

    3. Re:What about... by Pius+II. · · Score: 1

      With binary compatibility in the applications objects, it should be trivial to build plug-in replacements for Apple's frameworks. GNUstep and Cocoa both use Objective C, which does not care about an objects structure, only about exported methods (contrary to C++). That means that it could indeed be possible to run Cocoa applications natively on NetBSD using GNUstep: after all, the Cocoa applications are completely isolated from the implementation of their window/GUI server.

    4. Re:What about... by anarkhos · · Score: 2

      Many Cocoa apps link to CoreServices for which there is no alternative.

      --
      >80 column hard wrapped e-mail is not a sign of intelligent
      >life
  17. I wonder if it will look as good as Aqua? by Znonymous+Coward · · Score: 2
    This is a very cool idea. However, I'm willing to bet it won't look as nice as this.

    This will be one of those things where it's cool because you can do it, but is there really any reason to do it? Kinda like Mac on Linux.

    --

    Karma: The shiznight, mostly because I am the Drizzle.

    1. Re:I wonder if it will look as good as Aqua? by Anonymous Coward · · Score: 0

      IT'D BE THE SAME. They're the same goddamned binaries. Read the fucking article.

    2. Re:I wonder if it will look as good as Aqua? by killerc · · Score: 2, Interesting

      Actually, I use Mac-on-Linux pretty frequently. Linux has pretty weak support for HFS+ partitions -- even with the hfstools package. If I ever need to access a HFS+ formatted CD, I fire up MOL, mount my linux Home directory via netatalk, pop in the CD, and copy the needed files.

    3. Re:I wonder if it will look as good as Aqua? by Anonymous Coward · · Score: 0

      By all means, correct me on this- but wouldn't WindowServer + the libs be what provides the Quartz/QuartzExtreme functionality?

    4. Re:I wonder if it will look as good as Aqua? by IamTheRealMike · · Score: 2
      They aren't intending to recreate OS X bear in mind, it's merely a fun hack.

      In particular they aren't intending to recreate the widget toolkit it seems, or indeed, many of the libs at all, they just want Mach/Darwin compatability in NetBSD. You'd still need to buy a Mac with an OS X license for it to work.

      That makes it fundamentally different to Wine by the way for those who are wondering - wine is a complete reimplementation of the Windows APIs so you can run Windows apps without buying Windows. This is just letting NetBSD use some OS X code, not quite the same thing.

    5. Re:I wonder if it will look as good as Aqua? by Anonymous Coward · · Score: 0
      Yeah, and it won't use logic like this. I won't buy anything apple until they remove this paragraph from that page. It's currently on the right side of the page under the heading "Shorter data pipeline"
      The performance advantage of the PowerPC G4 starts with its data pipeline. The term "processor pipeline" refers to the number of processing steps, or stages, it takes to accomplish a task. The fewer the steps, the shorter -- and more efficient -- the pipeline. Thanks to its efficient 7-stage design (versus 20 stages for the Pentium 4 processor) the G4 processor can accomplish a task with 13 fewer steps than the PC. You do the math.
      This silly paragraph has been on apple's site for a year at least.
  18. I stand corrected, thanks! by Ars-Fartsica · · Score: 1

    (No need for a hundred other people to tell me it is not an emulator)

  19. Would It Be Faster Than OS X? by Bones3D_mac · · Score: 2, Interesting

    I wonder if this could be used to get an increase in speed for running OS X apps without the overhead of the OS X GUI? If it eliminates the eye candy effects, I'd bet it'd be noticeably faster.

    --


    8==8 Bones 8==8
    1. Re:Would It Be Faster Than OS X? by KAMiKAZOW · · Score: 3, Interesting

      No, from the page:

      Once we will have a fully functionnal Darwin binary compatibility on NetBSD/powerpc (if that happens some day), we will just have to grab MacOS X libraries to run any MacOS X program

      This means, NetBSD might have the original OS X GUI (including overhead and eye candy effects ^_^) in the future.
      Making GNUstep binary compatibe with Quartz should be the solution you're looking for (in that case, it would also work with the original Darwin).

    2. Re:Would It Be Faster Than OS X? by Anonymous Coward · · Score: 0

      Hmm. Would OSX, which is a bsd, be faster
      than NetBSD, which is a bsd.

      I wonder if x86 SuSE Linux is faster than
      x86 RedHat Linux.

    3. Re:Would It Be Faster Than OS X? by FooBarWidget · · Score: 2

      No way!!! OS X is the best OS in existence!!! Because all the 520 Slashdot posters say so in their "Linux sucks OS X rules" posts!
      OS X's GUI slow? Are you out of your mind? Of course it's not slow! The highly advanced Aqua GUI is the fastest GUI in existence because of OpenGL acceleration! I don't have a Mac but Slashdot says so so it must be true!

    4. Re:Would It Be Faster Than OS X? by Anonymous Coward · · Score: 0

      Darwin has a BSD layer on top of Mach. Completely different.

  20. Memories of Bad Hangovers by donpardo · · Score: 0, Troll

    Boone's Farm Apple Wine.

    --
    Nothing to see here. Move along.
  21. The Coolness by Jeedo · · Score: 1

    If they'd get it running on x86 the slowness would most certanly be outweighted by the coolness.

  22. OK, but... by caveat · · Score: 2

    why on earth would i want to kludge linux on a Mac to run OSX apps when I can just run OS X? you'll notice that the project is still only for ppc machines, and while LinuxPPC/YDL is nice, i really prefer X...it's just so much better a *nix on the Mac...

    --

    Facts do not cease to exist because they are ignored. - Aldous Huxley
    1. Re:OK, but... by SubtleNuance · · Score: 1

      ...because GNU/Linux is Free as in Freedom.

    2. Re:OK, but... by Ponty · · Score: 1

      And most people want computers to be practical, as in paycheck.

      I don't really give a whiz about freedom. I'll use the best tool for the job. Sometimes it's a Mac, sometimes it's Linux, sometimes (but not very often) it's Windows. If I can use something with a BSD license, I will, but that doesn't govern my decision. Maybe I'm getting old, but I'm starting to think of all of this push for GNU, the Green Party, and the like as simple immaturity on the part of people who don't have enough other things to do in the real world. Call that a troll if you like, but it's about how I feel.

    3. Re:OK, but... by Reality+Master+101 · · Score: 2

      Maybe I'm getting old, but I'm starting to think of all of this push for GNU, the Green Party, and the like as simple immaturity on the part of people who don't have enough other things to do in the real world.

      Congratulations, and welcome to the real world. :)

      --
      Sometimes it's best to just let stupid people be stupid.
    4. Re:OK, but... by demon · · Score: 2, Insightful

      Then just go right ahead and use what makes you happy. If you like Windows, or OS X, or whatever, use it. Just because some people like to hack on stuff for the hell of it, doesn't make no nevermind to you, or shouldn't anyway. It doesn't affect your ability to use your platform of choice. So why complain about someone doing this?

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    5. Re:OK, but... by Ponty · · Score: 1

      I'm not complaining about the ability of other people to do other things. I'm complaining about other people saying that my software is immoral. I see that as immature.

    6. Re:OK, but... by andrewski · · Score: 1

      Actually, by all accounts, the speed competition between OS 10.1 (haven't seen benchmarks for 10.2 yet) and Linux is a foregone conclusion. Linux wins in almost every way. I would imagine that NetBSD is competitive with Linux on speed, as well. With this software you may be able to run your OS X applications on NetBSD or (possibly) LinuxPPC at a faster-than-OSX speed. Neat.

      Disclaimer: Blah blah blah, yada yada yada.

    7. Re:OK, but... by Anonymous Coward · · Score: 0

      "I'm complaining about other people saying that my software is immoral."

      The point is that it's *not* *your* software -- it is the vendor's software. The owner of the company that owns "your" software now has control over your data.

    8. Re:OK, but... by Ponty · · Score: 2

      No they don't. I can use OpenWrite.app on my NeXT until the day the darned thing turns to dust to edit my OpenWrite documents. I don't care if I have the source or not.

      The line for me would be if I had to "subscribe" to my software to keep using it like MS wants. (I don't actually use Office, but bear with me.) If they ever did that, I'd standardize on a different program, or if none fulfilled my needs, I'd simply stick with Word 2000 or whatever the current version is.

    9. Re:OK, but... by SubtleNuance · · Score: 1

      there are three kind of people in the world; idealists, realists and opportunists.

      GNU advocates, GreenParty/Peta/EarthFirst/etc Members are idealists, your a realist and the 'status-quo' advocates are the opportunists (politicians/capitalists/marketroids).

      Only idealists can make positive change.

      I refuse to resign myself to becoming a realist or opportunist... they are roadblocks to progress.

    10. Re:OK, but... by SubtleNuance · · Score: 1

      I see that as immature.

      Whats it like believing yourself to be the posessor of the "officially correct" point-of-view/opinion?

      Calling someone immature is about as reasonable as calling you a fuckwhit - its lazy, tired and pointless.

    11. Re:OK, but... by Ponty · · Score: 2

      The subtlety of your nuance is both redundant in its declaration and lacking in its application.

      I don't recall ever claiming to be either official or correct. It's my opinion. Just like your opinion is yours. The statement of opinion embodies no claim to be officially correct or anything else along those lines.

    12. Re:OK, but... by Reality+Master+101 · · Score: 3, Insightful

      Only idealists can make positive change.

      That's overly simplistic. As usual, reality is a lot more complicated.

      There is no doubt that idealists (radicals if you will) can be a catalyst for change. But it's extremely rare that they actually make the changes. Almost by definition, idealists are incapable of implementing change because they want instant gratification and are impatient with the realities of implementation. And even then, they are often incapable of seeing a larger picture that reasonable people can disagree with their "idealism". Take environmentalism. If the typical idealist enviro had their way, every forest would be off-limits to logging. Period. But the ignores the reality that logging is not intrinsically evil, and that wood is a renewable resource.

      I'm reminded of one of my favorite scenes from Lawrence of Arabia:

      Feisal: The world is delighted at the picture of Damascus liberated by the Arab army.
      Allenby: Led, may I remind you, sir, by a British-serving officer.
      Feisal: Ah yes. But then Lawrence is a sword with two edges. We are equally glad to be rid of him, are we not?
      Allenby: I thought I was a hard man, sir.
      Feisal: You are merely a general. I must be a king...

      It's up to us realists to slowly, painfully -- but practically and fairly -- make the changes that society needs. We are the ones that are most capable of seeing all the sides of an issue and balancing everyone's needs.

      Like I said, idealists have a place as catalysts to move things along quicker than they might have moved along, simply because they raise the priority of something. But it's unfair and untrue to say that realists never make changes without them, because its simply untrue. Idealists just believe that to be true because the pace is always slower than they want it, and they don't see the realists as having the "passion" of change.

      I agree with you about opportunists to some extent, in that they aren't often dedicated to "progress". However, that doesn't mean it doesn't happen by accident. Opportunists create a lot of jobs, which is the single greatest resource that can be created when it comes to social progress.

      --
      Sometimes it's best to just let stupid people be stupid.
  23. MOL by dmaxwell · · Score: 4, Interesting

    Um...I use MOL and have found it to be far from pointless. I use MOL mostly to run a FirstClass groupware client. The reason why I run Linux on a Pismo Powerbook is that I have an environment mostly identical to my x86 Linux machine at home. This means Linux largely frees me from worrying about underlying architecture (Wine and so forth aside). I have not found OSX to be so insanely great that I should blow away my Linux partition. Believe it or not there are good reasons to prefer Linux over OSX.

    I have also found MOL to be far more reliable than Classic on OSX. Classic is much slicker in that OS 9 apps run directly on the Quartz desktop and one can cut and paste between apps. This also means it is more complex and therefore failure prone. My boss has no end of trouble with it. Classic icons go missing or change themselves into another apps icons. Some Classic apps will lock and won't release control to the Aqua UI. This means the machine is locked up for end user intents and purposes. Classic inflicts HFS metadata problems and some instability on OS X and kills much of OS X advantages if one has to make heavy use of OS <=9 apps. On the other hand if the OS 9 in my MOL sessions screws up then I can kill it and restart without affecting my Linux session. Since I boot my MOL session from an image I have an advantage normally only associated with virtual PC. If that boot image gets messed up, I can replace it from a backup quickly. Incidentally, MOL is very close to running OS X acceptably...eye candy and all.

    MOL is can also be used as a user mode Linux. One can boot another acceptably fast Linux inside a virtual machine. This is useful for things like kernel development. MOL is far from pointless.

    1. Re:MOL by Anonymous Coward · · Score: 0

      > I have not found OSX to be so insanely great that I should blow away my Linux partition. Believe it or not there are good reasons to prefer Linux over OSX.

      Sounds interesting; your reasons are?..

    2. Re:MOL by Anonymous Coward · · Score: 0

      Speed, flexibility, ease of use, I'd imagine.

  24. Not what Apple wanted by porkface · · Score: 2, Interesting
    I get the feeling this isn't the direction Apple had in mind when they released all that code. I got the feeling they wanted people working on compatibility layers for Darwin, not for non-Apple OSes. I think Apple has the ability to pull the plug at any time, so it might be nice to see some of this work going both ways.

    Most FreeBSD users I know have no interest in Photoshop or Office anymore now that the alternatives are as mature as they are. I think users of any BSD would enjoy this new compatibility, but I think it could be just as valuable to everyone (except MS) if MacOS X gained some compatibility layers.

    1. Re:Not what Apple wanted by Graymalkin · · Score: 2

      If Apple were indeed so pissy about the use of their code they wouldn't have released it or based it on a fully documented Microkernel. They also probably wouldn't have based their application level API of choice on a fully documented API.

      It doesn't matter if someone writes an implementation of Cocoa and a Darwin binary compatibility layer for [insert kernel name here]. If you're running any of Apple's code it means you either bought the software from them or bought a machine from there that software came on. If I made cars and you bought one from me and promptly lit it on fire when you got home I would not car as long as your money was good.

      Having a binary compatibility layer like this means NetBSD could act as a drop-in replacement for Darwin at some point. The OO fundamentals of OSX are designed to allow this, even if it is someone else who does it. This sort of stuff just gives Apple more cool factor among the compile everything from source open source project hacking geeks that two years ago spoke their name with a spite and bitterness reserved only for a special few.

      --
      I'm a loner Dottie, a Rebel.
  25. iTunes? by gh0ul · · Score: 1

    What about apps like iTunes, or iCal... wonder if those will work.. if it can do graphical apps, keep in mind there is Office v.X for MacOS X.. does this mean Word on BSD?!

    1. Re:iTunes? by andrewski · · Score: 1

      iCal might, but iTunes sure wouldn't. It's a carbon (old Mac API) app.

  26. use MOL aka mac on linux! by Anonymous Coward · · Score: 0


    use MOL aka mac on linux!

    http://www.maconlinux.org/

    Linux BSD and Darwin all being Nix brother
    I am still wondering why there is so much money invested for Windows port when it would be probably easier to have port from those ...

  27. The hardest part to imitate... by Judge_Fire · · Score: 2, Insightful

    IMHO, the hardest part to copy, clone or imitate in Mac OS is the way the OS extends outside the Apple software.

    The much appraised Mac 'look & feel' bases itself on all developers sticking to the UI conventions and guidelines, nicely outlined in this guide for porting over Win32 apps.

    The longer you use Mac OS, the more you'll appreciate this 'cultural' aspect of the OS.

    Having used Windows XP a lot lately, I've been quite happy with the OS and 'Window Manager' itself, but as soon as I actually use an other app, the whole experience breaks down.

    Keyboard shortcuts vary, widget placement is random, the tone of dialog varies and in general, application interoperability seems harder.

    Funny how so many people lust after the visual aspect of the UI, risking lawsuits from Apple, while the 'feel' part - the real magic of Mac OS - is quite publicly available AND applicable in form of UI guidelines.

    It won't hurt your Win/Linux app to apply some/all of these guidelines instead of no guidelines at all.

    J

  28. Wrong. by Pius+II. · · Score: 1

    KDE3.1 + Aqua WD (I forget the exact name, I don't use it) + Mosfest's Liquid Widgets + CodeWeaver's Crossover + the dirt cheap prices of x86 hardware == Hell

    - No self contained applications. Installation process is _not_ "grab the app and drag it to your favourite place"
    - No intelligent framework system. Try to use a KDE 1.0 app with your KDE 3.1 libraries. It breaks, because the goddamned _size_ of the _classes_ in fucking _C++_ has changed. Even if it were _source_compatible_ it wouldn't work, because of C++'s stupit ABI. (Note: Objective C doesn't have this problem :-)
    - No Project Builder. Use it, then you'll understand.


    Those are only a few, but I'll stop here. It's indeed a Mac I'm looking for, and that's because it's thought out. It's not because I like the _look_ of the GUI. In fact, if you choose your tools by their looks, you probably have a larger problem than not having a Mac...

    1. Re:Wrong. by Anonymous Coward · · Score: 0

      It breaks, because the goddamned _size_ of the _classes_ in fucking _C++_ has changed. Even if it were _source_compatible_ it wouldn't work, because of C++'s stupit ABI. (Note: Objective C doesn't have this problem :-)

      Coders have been quite able of creating backward compatable C++ libraries for ages. When you know what you're doing, and the OS you're on has proper library versioning, and you use it, then you don't have break binary compatability every five seconds.

      Sadly, it seems that Linux and KDE developers either don't understand what they're doing, or don't give a shit. Because you're quite right, trying to use older KDE apps on newer versions of KDE is a fucking nightmare. If the Qt and KDE developers got a clue and read up on vtables, they might be dangerous. Until that happens, application installation on Linux will continue to one big joke.

      P.S: While I'm at it, KWord is a crash happy bag O'shite which doesn't deserve to be 0.1alpha, let alone 1.x. OOo doesn't crash nearly as much, but then it is horribly ugly (So much so it hurts my eyes).

    2. Re:Wrong. by Anonymous Coward · · Score: 0
      Coders have been quite able of creating backward compatable C++ libraries for ages. When you know what you're doing, and the OS you're on has proper library versioning, and you use it, then you don't have break binary compatability every five seconds.

      No, he said ABI, not API, and they mean different things.

    3. Re:Wrong. by Anonymous Coward · · Score: 0

      He's talking about ABI. What he's saying is that if you're careful about what you change, and keep old-ABI libraries around on your system, etc., you can have backward ABI compatible libraries.

    4. Re:Wrong. by Anonymous Coward · · Score: 0

      I'd love to know what you think an ABI is if you thought I was talking about the API. Oh I know, you're a KDE developer, arn't you?

  29. Still wining about lack of Word?! by Paulo+Rocha · · Score: 1
    One major barrier to the adoption of Linux on the desktop is the percieved lack of familiar applications, and Photoshop and Word are high on the list
    Already on 2003, and we still read people wining about the unavailability of Word on Linux. Jeez...
    Me and my whole organization use StarOffice/OpenOffice for a long time ago, and we don't need MS Office. When we want to send a document outside the company, we convert it to PDF. Whenever we receive a MS Office document from outside, we open it it StarOffice/OpenOffice. When we need to check if the conversion was well done, we open the document in Microsoft Word Viewer, Excel Viewer and Powerpoint viewer, which:
    • Are freeware
    • Run fine under Wine
    • Open MS Office documents from versions 97 to XP

    When will people realize that if compatibility was so crucial, then we would still be using Wordstar or an even older wordprocessor?

    Regarding Photoshop, Corel Photopaint and Gimp are excellent replacements. I know they don't have all the prepress features of Photoshop. But most Photoshop users don't use prepress features!

    1. Re:Still wining about lack of Word?! by Com2Kid · · Score: 1
      • Regarding Photoshop, Corel Photopaint and Gimp are excellent replacements. I know they don't have all the prepress features of Photoshop. But most Photoshop users don't use prepress features!


      The Gimp's interface uses up, err, well, pretty much all of my screen real estate.

      Bad interface = hard to use = little work done = me no using it. Photoshop was easy and natural to use from almost the first time I started it up, The Gimp seems like it was just thrown together. Yes some of The Gimp's features have at various times in both program's development cycles, surpassed those of Photoshop in a few areas, but that is irrelevant, for as soon as I started the program up I ran smack dab into the horrid interface.

      Besides, having programs open up a gazzilion task bar items in Windows is just a pain. Icky icky bad bad makes switching programs all that much more of pain. Cntrl-Tab has its uses, don't need to alt-tab between everything.
    2. Re:Still wining about lack of Word?! by Daengbo · · Score: 1

      See, I think that's a pain about Windows. We use Gimp on IceWM 8-12 hours a day, and multiple workspaces makes it no proble.Setting all the accessories to "Always on Top" makes the interface nice and clean, and I just keep the other apps on one of the other workspaces. Stays all nice and neat that way...

  30. Re:Missing Apple libraries by jaoswald · · Score: 3, Insightful

    Notice the part you didn't quote:

    "Once we will have a fully functionnal Darwin binary compatibility on NetBSD/powerpc (if that happens some day), we will just have to grab Mac OS X libraries to run any MacOS X program"

    I.e. you would still have to have the whole Mac OS windowing, graphical, and multimedia (QuickTime) environment for something like Photoshop to run. That's a far cry from just getting Darwin running.

    The only legal way to get the Mac OS libraries is to buy Mac OS from Apple. Or reimplement them in a legally defensible way. Good freaking luck.

  31. ah How DUMB are slashdoters? by linuxislandsucks · · Score: 4, Insightful

    A question..

    The status report link is from 1/2002...

    Did anybody bother to read it before posting?

    70 people so far did not..

    The actual project ot watch is not NetBSd..in that they don't have the nice Apple relationship like Darwin does..

    In fact if my memory is right the proejct was stopped because they were duplicating Darwin's efforts..

    To see if MacOSx will run under intel machines check Darwin porject site not NetBSD!

    Come on People read once in awhile ..it will not harm you!

    Show yourself to better than those wintel geeks who don't even read but jsut spout what MS Gates wants..

    --
    Don't Tread on OpenSource
    1. Re:ah How DUMB are slashdoters? by Anonymous Coward · · Score: 0

      Slashdotters are indeed pretty damned stupid, judging by your post.

    2. Re:ah How DUMB are slashdoters? by demon · · Score: 2

      According to what their webserver said the last-modified date is, the page was last changed _yesterday_. I'm sure that the author is just doing what I've done so many times - writing the number of the previous year, because it's become burned into his brain.

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
  32. NO MORE EXPENSIVE APPLE HARDWARE!!! by Anonymous Coward · · Score: 0

    As I pointed it out on the subject - no need to buy that expensive Apple hardware any more! THAT is the really great thing about this.. open solutions, no proprietary shit.

    1. Re:NO MORE EXPENSIVE APPLE HARDWARE!!! by xombo · · Score: 1

      As I pointed it out on the subject - no need to buy that expensive Apple hardware any more! THAT is the really great thing about this.. open solutions, no proprietary shit.
      It still requires that you have a PPC processor, so it just does software emulation, and not hardware emulation. So you STILL have to buy the expensive hardware.

  33. maybe the way to a cheap mac? by SKicker · · Score: 2

    OK, this is probably a stupid idea but..

    Anyone know what kind of speed a powerpc emulator running on a x86 would get?

    If this OSX apps on BSD/PowerPC jazz works, what would you get if you coupled it to a powerpc to x86 emulator and had OSX running on a x86?

    Even if it ran at half the speed you might end up getting a cheaper 'mac' because x86 hardware is cheaper?

    1. Re:maybe the way to a cheap mac? by entrox · · Score: 1, Flamebait

      Half the speed? A tenth of the speed would be more realistic I think. PPCs have 32 general purpose registers, which would have to be emulated on the register-starved x86. This would perhaps be feasible on an Opteron or Itanium but not on that 2 decade old POS called x86.

      --
      -- The plural of 'anecdote' is not 'data'.
    2. Re:maybe the way to a cheap mac? by Graymalkin · · Score: 2

      The speed would be shitty as I understand it. It is relatively fast to emulate x86 on the PowerPC architecture because you've got a metric buttload of GPRs to store whatever you need for emulation. The reverse is a problem since x86 has so few GPRs you need to spend lots of cycles just emulating the larger number of GPRs, far more than you're actually spending doing operations. You'd be running at around a quarter speed or less compared to a native binary. The most bad-ass Pentium 4 than is going to be running about the equivilent of a 700MHz PowerMac if that. For the price of that bad-ass P4 system you could buy a PowerMac off eBay or smalldog.

      --
      I'm a loner Dottie, a Rebel.
    3. Re:maybe the way to a cheap mac? by teamhasnoi · · Score: 2

      AFAIK - there is NO PPC emulator. Lots of hoaxes and vapor. No emulator.

  34. If i only had more time. by GiMP · · Score: 2

    Realizing the 'open source' (sort of) nature of Darwin, I've thought of doing this myself (for linux).. but just didn't have them time.

    For those who think this is a dumb idea.. you're not seeing the bigger picture. Currently, MacOS X only runs on G3 and G4 apple machines designated by Apple unless you boot Linux and install Mac On Linux (similiar to Plex86 for PPC). If you can run OSX applications on Linux, NetBSD, etc.. then you wouldn't need the overhead of a VM. Your RS6000 could run OSX with minimum overhead. From NetBSD you could run from the same machine, binaries compiled for: OSX, Linux, FreeBSD, and NetBSD.

    Personally, I don't like OSX; However, I wouldn't mind being able to run natively on Linux: Internet Explorer, Quarx Express, etc.. Not to mention that Quartz is a pretty neat looking, X11 compatable (with Xfree86-rootless) windowing system.

    This is more important for Linux than NetBSD, only because NetBSD currently has poor support for devices on many PowerPC machines (compared to Linux), especially laptops.

    1. Re:If i only had more time. by andrewski · · Score: 1

      People running OS X on their Macs right now wouldn't mind being able to run Quark XPress natively!

      Ain't gonna happen, though. I don't really think they have jack or shit in their code repository. Their CEO's latest actions kind of confirm this, as he basically told the Mac folks to fuck off and look at Windows as an alternative.

  35. Re:Missing Apple libraries by Anonymous Coward · · Score: 0

    How is this scenario illegal?

    Joe User puts NetBSD/PPC on his Mac.
    Joe User copies libraries from his Mac OS X partition
    Joe User runs Mac OS X GUI programs from NetBSD.

    And before you start shitting me with crap like, "But why not just use Mac OS X?!", keep in mind that yes, there are people who prefer NetBSD, and no, they have perfectly good reasons for doing so.

    What this just means is that those people don't have to reboot to run some Mac app. That's a good thing. Don't knock it.

  36. WRONG by Anonymous Coward · · Score: 1, Informative

    Besides the awful spallilng in this post, it is also wrong. The mailing list post referenced in the blurb is from 1/3/2003. Check the Google mailing list archive if you want. Who the hell modded this troll up? Check first.

  37. Re:Missing Apple libraries by Anonymous Coward · · Score: 1, Insightful

    Big deal. So you buy OSX 10.1 (can be found new and legally for 50 bucks) and you're set. I don't care if I don't get the whole thing for free or not as long as it works. What's the problem?

  38. I don't even see the point. by Anonymous Coward · · Score: 0

    As a linux user, I really can't see why you'd do this, except if you were basically trying to pirate MacOS-bundled apps on your netBSD box. However, I'd have expected netBSD users in particular to be more ethical than that. You can already run whatever apps you want with a Windoze emulator.

    Ok, you might also do this if you just wanted to piss off Apple, but that would be gratuitous.

    1. Re:I don't even see the point. by Anonymous Coward · · Score: 0

      As a linux user, I really can't see why you'd do this, except if you were basically trying to pirate MacOS-bundled apps on your netBSD box.

      Bingo! We have a winner

      I'd have expected netBSD users in particular to be more ethical than that.

      Ethical? Whats ethical about prolonging the death of a clearly dying OS. These guys are about as ethical as those people who crapflood slashdot with gay pornography.

  39. NetBSD Mac OS X Binary Compatibility by NynexNinja · · Score: 1

    I'll take a good quote from the article: "If we could run Photoshop or any of the commercial Apps this would be worth something, but to run X Window apps many people already offer their apps in a native format so this thing would be as useless as a snow shovel in Arizona."

  40. Re:ah How DUMB are YOU? by Groganz · · Score: 1

    Why don't you look at the bottom right corner of their page doofus.

  41. Where is the modem support ? by Anonymous Coward · · Score: 0

    Frick and frack.. I have installed netbsd and openbsd on a g-4 cube but no native modem support. So I will be able to run OSX apps but can not get on the web because of poor hardware support... Sorry to bitch but hardware support for Netbsd needs tuning and these other projects can wait !

    Love,
    The rodster......

  42. Re:NetBSD is dead by Anonymous Coward · · Score: 0

    Actually Netbsd had IPV6 before Mac os X did and yes if you look at the mailing lists and cvs you would see it like the other BSD's is very active. In fact if it were not for Netbsd we would not have OS X because os X was first based on Netbsd despite what Jordan and all the others say. Fred ( the man who basically put Darwin on the map ) ported mostly Netbsd stuff over.

    Cheers,

    The rodster....

  43. Re:Missing Apple libraries by jaoswald · · Score: 2

    Perhaps surprisingly, it probably isn't illegal!

    I'm assuming that this NetBSD kernel+shim is being used to replace just Apple Open Sourced components , in which case, you seem to fall within the scope of section 2B of the Mac OS X License.

    To be totally careful, your step 2 would have to be Joe User nukes the shipped Darwin kernel with his new kernel, but I doubt it makes a difference, as long as it is the same computer; the computer can run only one of them at a time.

    2. Permitted License Uses and Restrictions. ...
    B. Certain components of the Apple Software have been or may be made available by Apple on its Open Source web site (http://www.opensource.apple.com/) (collectively the "Open-Sourced Components"). You may modify or replace only these Open-Sourced Components; provided that: (i) the resultant Apple Software is used, in place of the unmodified Apple Software, on a single Apple-labeled computer; and (ii) you otherwise comply with the terms of this License and any applicable licensing terms governing use of the Open-Sourced Components. Apple is not obligated to provide any maintenance, technical or other support for the resultant Apple Software.

  44. Re:IN SOVIET RUSSIA... by Anonymous Coward · · Score: 0

    Indeed. You show a deep understanding of the politics of computing. Only you got the country wrong.

  45. Re:NetBSD is dead by Anonymous Coward · · Score: 0

    yes, freebsd and netbsd are not dying. though maybe you could argue that openbsd is.

    but the episode you describe does illustrate how the licenses used in netbsd allowed the owners of Apple to take good code proprietary.

    this is what the gpl is all about. too bad we can't make a gpl fork of netbsd. :)

  46. Name for the project by Mignon · · Score: 2
    Every project needs a cool name. WINE is for running Win(dows) binaries. So what to call this?

    How about "OSXE"? Pronounced "Oh sexy."

  47. Re:NetBSD is dead by Anonymous Coward · · Score: 0

    yes, you are correct apple did take good code and make some changes and release it under the APL. To bad it can not all be Open Source and Free. About the gpl fork of netbsd have a look at the debian project to port debian to Netbsd.
    http://www.debian.org/ports/netbsd/

    Almost sounds like what you described !

    Cheers,

    The rodster.....

  48. Mac OSX is cool! But was about a PC-based distro by kha0z · · Score: 0, Redundant

    I made the move to MAC when OSX first came out. I guess I finally had a reason to purchase a computer that didn't come with bundled MS operating system and was based on UNIX. I try to avoid support MS as much as I can. :) The only thing that bugs is that I have to run Windows at home so that my kids and wife can use the home PC with ease. (Linux has come far, but its still not a really intuitive home desktop for the computer illiterate.) I only wish there would be a PC based distro of OSX. I would be happy to dish out the money for the licensing.

    --
    kha0z
    Master of ImportChaos.com
  49. Run it on FBSD by nurb432 · · Score: 2

    That was my plan, as im sure it would be ported over.

    I commend the NetBSD people, but i still use FreeBSD for now since im only running i386 chips these days.

    --
    ---- Booth was a patriot ----
    1. Re:Run it on FBSD by DeadInSpace · · Score: 1
      I commend the NetBSD people, but i still use FreeBSD for now since im only running i386 chips these days.
      And you are going to run ppc MacOS binaries on your i386 chips how exactly?
    2. Re:Run it on FBSD by nurb432 · · Score: 2

      Emulation..

      I read the word 'emulation' and I didn't see it specify which architecture, so one would assume its emulated.. sooo would run on i386 too..

      I read it fast so I could have missed them saying it was ppc only..If so, then I guess I'm outta luck.

      --
      ---- Booth was a patriot ----
    3. Re:Run it on FBSD by DeadInSpace · · Score: 1
      I read the word 'emulation' and I didn't see it specify which architecture, so one would assume its emulated.. sooo would run on i386 too
      Well, I don't know how correct the term "emulation" is... The ability to run Darwin binaries does not require emulation, it just requires the NetBSD kernel to provide a Darwin ABI to its functions, just like it provides a NetBSD ABI to its functions (and like it can provide a Linux ABI). That is just about different "interfaces" for one kernel, and in that sense, Darwin binaries are not running any more emulated than NetBSD binaries.

      The graphical part however might be different, and might technically be emulation, although I'm not sure.

      But, anyway, total ppc emulation (to run the binaries on other platforms too) is many times slower and many times more difficult than just providing Darwin binary compatibility and a graphical compatible something.
      From the article:
      Once we will have a fully functionnal Darwin binary compatibility on NetBSD/powerpc (if that happens some day)
      So, yes, it's for NetBSD/ppc only. If I remember correctly, complete ppc emulation was discussed too, but that will have to wait at least until the "normal" binary compatibility is functional :)

      In other words, don't count on running MacOS X binaries on your PC for a while, as creating a complete CPU emulator is quite tough, especially if decent performance is a must.
    4. Re:Run it on FBSD by nullard · · Score: 1

      Simply because of the number of registers on PowerPC machines, an emulator running on x86 would have to swap registers to ram quite frequently. It would be much slower than emulating x86 on PPC.

      --


      t'nera semordnilap
  50. ~tell RAMMS+EIN by SHEENmaster · · Score: 2

    about html <br> tags.

    --
    You can't judge a book by the way it wears its hair.
  51. Do you speak XHTML? by RAMMS+EIN · · Score: 1

    /> for you!

    --
    Please correct me if I got my facts wrong.