Skip to Content
Building Cocoa Applications: A Step by Step Guide
book

Building Cocoa Applications: A Step by Step Guide

by Simson Garfinkel, Michael Mahoney
May 2002
Intermediate to advanced
646 pages
18h 57m
English
O'Reilly Media, Inc.
Content preview from Building Cocoa Applications: A Step by Step Guide

Chapter 9. Darwin and the Window Server

If your only previous exposure to computing is to previous versions of the Macintosh operating system (Mac OS) or Microsoft Windows, you’ve probably noticed that Mac OS X is very different indeed. If you’re familiar with the “classic” Mac OS, you’ve probably noticed that with Mac OS X you don’t need to preallocate how much memory a program uses, and that programs in the background run without any noticeable degradation in performance. If you have used either Mac OS or Windows, you’ve surely noticed that Mac OS X does not crash as much as these other operating systems — in fact, for most users it doesn’t crash at all! In this chapter, we’ll see why Mac OS X is so different.

Unix, Mach, and the Mac OS X Environment

The Mac OS X environment is built on top of the Unix operating system and the Mach kernel. Together, they form a powerful computing infrastructure that is part of what Apple calls Darwin . In addition to the Mach and Unix services, Darwin includes the Mac OS X networking and (multiple integrated) filesystems.

Operating Systems

An operating system is the master control program that loads and runs other programs and controls a computer’s input and output systems, such as the keyboard, display, and disk drives. Multitasking operating systems such as Mach allow more than one program to run at the same time on the same computer; the operating system automatically arbitrates between the various programs that are waiting to run, letting one ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Swift Development with Cocoa

Swift Development with Cocoa

Paris Buttfield-Addison, Jonathon Manning, Tim Nugent
Cocoa Design Patterns

Cocoa Design Patterns

Erik M. Buck, Donald A. Yacktman

Publisher Resources

ISBN: 0596002351Catalog PageErrata