Darwin is an
open-source Unix
Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
operating system
An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ef ...
first released by
Apple Inc. in 2000. It is composed of code derived from
NeXTSTEP
NeXTSTEP is a discontinued object-oriented, multitasking operating system based on the Mach kernel and the UNIX-derived BSD. It was developed by NeXT Computer in the late 1980s and early 1990s and was initially used for its range of proprieta ...
,
BSD,
Mach
Mach may refer to Mach number, the speed of sound in local conditions. It may also refer to:
Computing
* Mach (kernel), an operating systems kernel technology
* ATI Mach, a 2D GPU chip by ATI
* GNU Mach, the microkernel upon which GNU Hurd is bas ...
, and other
free software
Free software or libre software is computer software distributed under terms that allow users to run the software for any purpose as well as to study, change, and distribute it and any adapted versions. Free software is a matter of liberty, ...
projects' code, as well as code developed by Apple.
Darwin forms the Unix-based core set of components upon which
macOS
macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac (computer), Mac computers. Within the market of ...
(previously OS X and Mac OS X),
iOS,
watchOS,
tvOS,
iPadOS and
bridgeOS
bridgeOS is a mobile operating system created and developed by Apple Inc. for use exclusively with its hardware. bridgeOS runs on the T series Apple silicon processors and operates the OLED touchscreen strip called the " Touch Bar" as wel ...
are based. It is mostly
POSIX
The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. POSIX defines both the system- and user-level application programming inte ...
-compatible, but has never, by itself, been certified as compatible with any version of POSIX. Starting with
Leopard
The leopard (''Panthera pardus'') is one of the five extant species in the genus '' Panthera'', a member of the cat family, Felidae. It occurs in a wide range in sub-Saharan Africa, in some parts of Western and Central Asia, Southern Russia ...
, macOS has been certified as compatible with the
Single UNIX Specification version 3 (SUSv3).
History
The heritage of Darwin began with Unix derivatives supplemented by aspects of
NeXT
Next may refer to:
Arts and entertainment Film
* ''Next'' (1990 film), an animated short about William Shakespeare
* ''Next'' (2007 film), a sci-fi film starring Nicolas Cage
* '' Next: A Primer on Urban Painting'', a 2005 documentary film
Lit ...
's
NeXTSTEP
NeXTSTEP is a discontinued object-oriented, multitasking operating system based on the Mach kernel and the UNIX-derived BSD. It was developed by NeXT Computer in the late 1980s and early 1990s and was initially used for its range of proprieta ...
operating system (later, since version 4.0, known as OPENSTEP), first released in 1989. After Apple bought NeXT in 1996, it announced it would base its next operating system on OPENSTEP. This was developed into
Rhapsody in 1997,
Mac OS X Server 1.0 in 1999,
Mac OS X Public Beta in 2000, and
Mac OS X 10.0 in 2001.
In 1999, Apple announced it would release the source code for the Mach 2.5 microkernel,
BSD Unix 4.4 OS, and the
Apache Web server
The Apache HTTP Server ( ) is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0. Apache is developed and maintained by an open community of developers under the auspices of the Apache Soft ...
components of Mac OS X Server. At the time, interim
CEO Steve Jobs
Steven Paul Jobs (February 24, 1955 – October 5, 2011) was an American entrepreneur, industrial designer, media proprietor, and investor. He was the co-founder, chairman, and CEO of Apple; the chairman and majority shareholder of Pixar; ...
alluded to
British naturalist Charles Darwin
Charles Robert Darwin ( ; 12 February 1809 – 19 April 1882) was an English natural history#Before 1900, naturalist, geologist, and biologist, widely known for his contributions to evolutionary biology. His proposition that all speci ...
by announcing "because it's about evolution". In 2000, the core operating system components of Mac OS X were released as
open-source software
Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose. Ope ...
under the
Apple Public Source License (APSL) as Darwin; the higher-level components, such as the
Cocoa
Cocoa may refer to:
Chocolate
* Chocolate
* ''Theobroma cacao'', the cocoa tree
* Cocoa bean, seed of ''Theobroma cacao''
* Chocolate liquor, or cocoa liquor, pure, liquid chocolate extracted from the cocoa bean, including both cocoa butter and ...
and
Carbon
Carbon () is a chemical element with the symbol C and atomic number 6. It is nonmetallic and tetravalent—its atom making four electrons available to form covalent chemical bonds. It belongs to group 14 of the periodic table. Carbon makes ...
frameworks, remained
closed-source.
Up to Darwin 8.0.1, Apple released a binary installer (as an
ISO image) after each major Mac OS X release that allowed one to install Darwin on
PowerPC
PowerPC (with the backronym Performance Optimization With Enhanced RISC – Performance Computing, sometimes abbreviated as PPC) is a reduced instruction set computer (RISC) instruction set architecture (ISA) created by the 1991 Apple– IBM ...
and
Intel x86 systems as a standalone operating system. Minor updates were released as packages that were installed separately. Darwin is now only available as source code.
Design
Kernel
The kernel of Darwin is
XNU
XNU is the computer operating system (OS) kernel developed at Apple Inc. since December 1996 for use in the Mac OS X (now macOS) operating system and released as free and open-source software as part of the Darwin OS, which in addition to macOS ...
, a
hybrid kernel
A hybrid kernel is an operating system kernel architecture that attempts to combine aspects and benefits of microkernel and monolithic kernel architectures used in computer operating systems.
Overview
The traditional kernel categories are monolith ...
which uses OSFMK 7.3
(Open Software Foundation Mach Kernel) from the
OSF, various elements of
FreeBSD (including the process model,
network stack, and
virtual file system), and an object-oriented
device driver
In computing, a device driver is a computer program that operates or controls a particular type of device that is attached to a computer or automaton. A driver provides a software interface to hardware devices, enabling operating systems and o ...
API called I/O Kit. The hybrid kernel design provides the flexibility of a
microkernel
In computer science, a microkernel (often abbreviated as μ-kernel) is the near-minimum amount of software that can provide the mechanisms needed to implement an operating system (OS). These mechanisms include low-level address space management, ...
and the performance of a
monolithic kernel.
Hardware and software support
Darwin currently includes support for the
64-bit x86-64
x86-64 (also known as x64, x86_64, AMD64, and Intel 64) is a 64-bit version of the x86 instruction set, first released in 1999. It introduced two new modes of operation, 64-bit mode and compatibility mode, along with a new 4-level paging ...
variant of the
Intel x86 processors used in Intel-based
Macs and the 64-bit
ARM processors used in the
iPhone 5S and later, the
6th generation iPod Touch, the
5th generation iPad and later, the
iPad Air
The iPad is a brand of iOS and iPadOS-based tablet computers that are developed by Apple Inc. The iPad was conceived before the related iPhone but the iPhone was developed and released first. Speculation about the development, operating ...
family, the
iPad Mini 2 and later, the
iPad Pro
The iPad Pro is a premium model of Apple's iPad tablet computer. It runs iPadOS, a tablet-optimized version of the iOS operating system.
The original iPad Pro was introduced in September 2015, and ran iOS 9. The second-generation iPad ...
family, the fourth generation and later
Apple TVs, the
HomePod family, and
Macs with
Apple silicon
Apple silicon is a series of system on a chip (SoC) and system in a package (SiP) processors designed by Apple Inc., mainly using the ARM architecture. It is the basis of most new Mac computers as well as iPhone, iPad, iPod Touch, Apple ...
such as the 2020
Apple M1 Macs, as well as the Raspberry Pi 3B. An open-source port of the
XNU
XNU is the computer operating system (OS) kernel developed at Apple Inc. since December 1996 for use in the Mac OS X (now macOS) operating system and released as free and open-source software as part of the Darwin OS, which in addition to macOS ...
kernel exists that supports Darwin on Intel and
AMD x86 platforms not officially supported by Apple, though it does not appear to have been updated since 2009. An open-source port of the
XNU
XNU is the computer operating system (OS) kernel developed at Apple Inc. since December 1996 for use in the Mac OS X (now macOS) operating system and released as free and open-source software as part of the Darwin OS, which in addition to macOS ...
kernel also exists for ARM platforms. Older versions supported some or all of 32-bit
PowerPC
PowerPC (with the backronym Performance Optimization With Enhanced RISC – Performance Computing, sometimes abbreviated as PPC) is a reduced instruction set computer (RISC) instruction set architecture (ISA) created by the 1991 Apple– IBM ...
, 64-bit PowerPC, 32-bit x86, and 32-bit ARM.
It supports the
POSIX
The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. POSIX defines both the system- and user-level application programming inte ...
API by way of its
BSD lineage (largely
FreeBSD userland) and a large number of programs written for various other
UNIX-like
A Unix-like (sometimes referred to as UN*X or *nix) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-li ...
systems can be
compiled on Darwin with no changes to the
source code
In computing, source code, or simply code, is any collection of code, with or without comment (computer programming), comments, written using a human-readable programming language, usually as plain text. The source code of a Computer program, p ...
.
Darwin does not include many of the defining elements of macOS, such as the
Carbon
Carbon () is a chemical element with the symbol C and atomic number 6. It is nonmetallic and tetravalent—its atom making four electrons available to form covalent chemical bonds. It belongs to group 14 of the periodic table. Carbon makes ...
and
Cocoa
Cocoa may refer to:
Chocolate
* Chocolate
* ''Theobroma cacao'', the cocoa tree
* Cocoa bean, seed of ''Theobroma cacao''
* Chocolate liquor, or cocoa liquor, pure, liquid chocolate extracted from the cocoa bean, including both cocoa butter and ...
APIs or the
Quartz Compositor and
Aqua user interface, and thus cannot run Mac applications. It does, however, support a number of lesser-known features of macOS, such as mDNSResponder, which is the
multicast
In computer networking, multicast is group communication where data transmission is addressed to a group of destination computers simultaneously. Multicast can be one-to-many or many-to-many distribution. Multicast should not be confused wit ...
DNS
The Domain Name System (DNS) is a hierarchical and distributed naming system for computers, services, and other resources in the Internet or other Internet Protocol (IP) networks. It associates various information with domain names assigned to ...
responder and a core component of the
Bonjour networking technology, and
launchd, an advanced
service management
Service management in the manufacturing context, is integrated into supply chain management as the intersection between the actual sales and the customer point of view. The aim of high-performance service management is to optimize the service- ...
framework.
License
In July 2003, Apple released Darwin under version 2.0 of the
Apple Public Source License (APSL), which the
Free Software Foundation
The Free Software Foundation (FSF) is a 501(c)(3) non-profit organization founded by Richard Stallman on October 4, 1985, to support the free software movement, with the organization's preference for software being distributed under copyleft ("s ...
(FSF) classifies as a
free software license
A free-software license is a notice that grants the recipient of a piece of software extensive rights to modify and software distribution, redistribute that software. These actions are usually prohibited by copyright law, but the rights-holde ...
incompatible with the
GNU General Public License
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end user
In product development, an end user (sometimes end-user) is a person who ultimately uses or is intended to ulti ...
. Previous versions were released under an earlier version of the APSL license, which did not meet the FSF definition of free software, although it did meet the requirements of the
Open Source Definition.
Release history
The following is a table of major Darwin releases with their dates of release and their derivative operating system releases. Note that the corresponding releases may have been released on a different date.
Darwin 0–8 and corresponding Mac OS X releases
The jump in version numbers from Darwin 1.4.1 to 5.1 with the release of Mac OS X v10.1.1 was designed to tie Darwin to the Mac OS X version and build numbering system, which in turn is inherited from NeXTSTEP. In the build numbering system of macOS, every version has a unique beginning build number, which identifies what whole version of macOS it is part of. Mac OS X v10.0 had build numbers starting with 4, 10.1 had build numbers starting with 5, and so forth (earlier build numbers represented developer releases).
Darwin 9; iPhone OS introduced
Darwin 10-11; iPhone OS rebranded to iOS
Darwin 12–15; Mac OS X rebranded into OS X
Darwin 16–19; OS X rebranded into macOS
Darwin 20 onwards
The command in
Terminal will show the Darwin version number ("20.3.0"), and the command will show the
XNU
XNU is the computer operating system (OS) kernel developed at Apple Inc. since December 1996 for use in the Mac OS X (now macOS) operating system and released as free and open-source software as part of the Darwin OS, which in addition to macOS ...
build version string, which includes the Darwin version number.
The command will show the corresponding ProductName ("macOS"), the ProductVersion number ("11.2.3") and the BuildVersion string ("20D91").
Derived projects
Due to the free software nature of Darwin, there have been projects that aim to modify or enhance the operating system.
OpenDarwin
OpenDarwin was a community-led operating system based on the Darwin system. It was founded in April 2002 by
Apple Inc. and
Internet Systems Consortium. Its goal was to increase collaboration between Apple developers and the
free software community. Apple benefited from the project because improvements to OpenDarwin would be incorporated into Darwin releases; and the free/open source community benefited from being given complete control over its own operating system, which could then be used in free software distributions such as GNU-Darwin.
On July 25, 2006, the OpenDarwin team announced that the project was shutting down, as they felt OpenDarwin had "become a mere hosting facility for Mac OS X related projects", and that the efforts to create a standalone Darwin operating system had failed. They also state: "Availability of sources, interaction with Apple representatives, difficulty building and tracking sources, and a lack of interest from the community have all contributed to this." The last stable release was version 7.2.1, released on July 16, 2004.
PureDarwin
PureDarwin is a project to create a bootable operating system image from Apple's released source code for Darwin. Since the halt of OpenDarwin and the release of bootable images since Darwin 8.x, it has been increasingly difficult to create a full operating system as many components become closed source. In 2015 the project created a preview release based on Darwin 9 with an X11 GUI, followed by a command-line only 17.4 Beta based on Darwin 17.
Other derived projects
*
MacPorts (formerly DarwinPorts),
Fink, and
Homebrew
Homebrewing mainly refers to small-scale, non-commercial manufacture of a drink, typically beer.
Homebrew or home brew may also refer to:
Computing
* Homebrew Computer Club
* Homebrew (package manager), for macOS and Linux
* Homebrew (video game ...
are projects to port UNIX programs to the Darwin operating system and provide
package management. In addition, several standard UNIX package managers—such as
RPM,
pkgsrc, and
Portage—have Darwin ports. Some of these operate in their own namespace so as not to interfere with the base system.
* GNU-Darwin is a project that ports packages of free software to Darwin. They package OS images in a way similar to a
Linux distribution.
* The
Darwine project was a
port
A port is a maritime facility comprising one or more wharves or loading areas, where ships load and discharge cargo and passengers. Although usually situated on a sea coast or estuary, ports can also be found far inland, such as ...
of
Wine
Wine is an alcoholic drink typically made from fermented grapes. Yeast consumes the sugar in the grapes and converts it to ethanol and carbon dioxide, releasing heat in the process. Different varieties of grapes and strains of yeasts are ...
that allows one to run
Microsoft Windows software on Darwin.
* SEDarwin is a port of
TrustedBSD mandatory access control framework and portions of the
SELinux framework to Darwin. It was incorporated into Mac OS X 10.5.
* The Darbat project is an experimental port of Darwin to the
L4 microkernel family. It aims to be
binary compatible with existing Darwin binaries.
* The
Darling
Darling is a term of endearment of Old English origin.
Darling or Darlin' or Darlings may also refer to:
People
* Darling (surname)
* Darling Jimenez (born 1980), American boxer
* Darling Légitimus (1907–1999), French actress
Places Austral ...
project is a compatibility layer for running macOS binaries on Linux systems. It uses some Darwin source code.
* There are various projects that focus on driver support: e.g., wireless drivers, wired
NIC
NIC may refer to:
Banking and insurance companies
* National Insurance Corporation, Uganda
* NIC Bank, a commercial bank in Kenya
Politics, government and economics
* National Ice Center, an agency that provides worldwide navigational ice a ...
drivers modem drivers, card readers, and the
ext2 and
ext3 file systems.
See also
*
A/UX
*
mkLinux
*
OSF/1
References
External links
Darwin Releasesat
Apple Developer Connection
source code of individual packagesHexley, the Darwin mascotPureDarwin.org*
{{DEFAULTSORT:Darwin (Operating System)
2000 software
Mascots introduced in 2000
Animal mascots
Apple Inc. operating systems
Berkeley Software Distribution
Fictional monotremes
Free software operating systems
Mach (kernel)
MacOS
Software version histories
Unix variants