Re: Applying BeOS lessons to MacOS X?
Originally posted by eirik
BeOS also implemented a filing system that featured a metadata construct far superior to virtually every OS around. So tightly integrated into the OS, the metadata construct enabled BeOS's journalling, which offers additional performance increases as well as enhanced usability and extensibility.
Sorry to nitpick, but the BeFS's journalling implementation has nothing to do with metadata. And the journalling itself did not really affect performance in any positive way. But anyway, I do agree that the BeFS was rocking. Best desktop filesystem ever by far, hands down, no arguments.
I haven't played with BeOS. But after reading about it this weekend, I am very intrigued.
Go download a copy of the personal edition then! What are you waiting for!!!

Anyone who has ever used OS X on a dual-1GHz Power Mac AND used BeOS on a 300MHz Celeron has probably looked at what they spent on the Mac and broken down in tears. Well, maybe not any Mac zealots...
So, I'm opening this thread in hopes that some of you brilliant, knowledgeable folks
That's me!
Are there some things from the BeOS that Apple can never employ, why?
Never say never, but if Apple wants to replace the HFS+ filesystem, they will need to do two things: 1) acquire/develop the filesystem with which they intend to replace HFS+, and 2) develop an OS 9 compatibility layer, which would require an update of OS 9, so that Classic apps are compatible with this new fs, resource forks and all. Apple is going to have to replace HFS+ sooner or later, but I would wager that they'd rather opt for doing it later, just because they have more urgent things to do right now. (At the moment, bug fixes and new features.)
Also, I don't believe OS X will ever be able to match the speed of BeOS. Well, I should say it will never be more efficient; BeOS will always be faster clock-for-clock. BeOS was just so finely tuned and highly optimized it's not even funny. Aiming to be faster than BeOS is like aiming to be a better guitarist than Eric Clapton. You can work on your guitar skills for 6 hours per day for the next three decades, and who knows, you might just get there.
As well, OS X will certainly never, ever be able to manage the memory usage of BeOS. The 300MHz Celeron I mentioned running BeOS is able to, with 128MB of RAM, run circles around the dual 1GHz Mac with 1GB of RAM in everyday desktop use. No joke. I realize that RAM is very cheap these days, but a program that uses 32MB of RAM will inevitably be slower than a similarly-written program that uses 16MB.
What do you suppose we might see in the way of a timeline for implementing some the BeOS improvements?
Supposing Apple does implement any of BeOS's technologies/ideas, who knows. The only thing of BeOS's that I think OS X would really benefit from would be the BeFS. This gets into the whole idea of filesystem metadata and how it can be successfully implemented and utilized. Metadata will be, I believe, the first line on BeOS's epitaph. Now we're hearing that Windows will be going in this direction. Apple will want to, as well. They've already got a nice proof of concept in the form of iTunes' song index. It would take a long time and a lot of work (including a change of filesystem) for an OS X metadata concept to be both implemented AND widely exploited, but it is something for Apple to think about.
Why is MacOS X so much slower than BeOS?
You'll get a lot of different answers to this one, from "it's the display layer" to "I don't know" to, seeing as how this is a forum frequented mostly by Mac users, "its not you idiot, osx is faster on my 300mhz imac than beos is on my friend's 1ghz athalon and you sir are a moron!!!111" My opinion is that OS X is much slower than BeOS because Apple was concerned simply with getting it out the door. My reasoning for this opinion is:
- It takes A LOT of work to engineer an entire modern desktop operating system. Apple had the advantage of some very solid foundations in OpenStep and FreeBSD, but they also developed quite a bit from scratch. The entire display layer (I think?), the Blue Box (Classic), Carbon, support for a wide array of modern Mac hardware... It's quite remarkable that such a troubled (at the time) company was able to pull off such a feat of successfully rolling out a state-of-the-art desktop OS that retained full compatibility, either via Carbon or via Classic, with most existing Mac software. It took less than four years from their purchase of NeXT for Apple roll out the public beta, and there is no way that they weren't busting their asses from the date of acquisition until the early morning before the beta's release. When you're working that frantically, simply getting everything working right is much more important than speed.
- OS X's compilers all suck. GCC is great for standards compliance and "freedom" etc., but when all is said and done, it's not a great performer even on its primary platform (x86). It's much, much, worse on PPC. Apple and Motorola have contributed a few improvements to it, which have helped, but it's still a poor compiler as far as code optimization (including memory usage optimization!) are concerned. What do you expect from a bunch of dirty hippies working for free! (Joke.)
- Quartz, the display layer, is doing quite a bit. Window drop shadows, elaborate animation, real-time alpha blending, etc. This could account for some of the slow graphics rendering (e.g. window resizing) evident in OS X, but the fact that many non-graphical operations are still slow is reason enough to discount Quartz as being solely responsible for OS X's doggedness.
- Slow filesystem. HFS+ is Apple's FAT32. An add-on to an add-on to a filesystem that, truth be told, wasn't so great in the first place.
I'm sure this list could be made longer.
What can Dominic do for MacOS X as an Apple employee?
Well, I doubt he was hired to write OS X Quickcam drivers...
Alex