Home  >  Article  >  Operation and Maintenance  >  Is ios based on linux or unix?

Is ios based on linux or unix?

WBOY
WBOYOriginal
2022-06-20 17:32:3114059browse

IOS is developed based on UNIX; IOS is actually an ARM variant of Darwin, derived from BSD, UNIX-like kernel, and Apple's own Mach kernel extension system. These are completely different from linux, which is A monolithic kernel, Apple is a hybrid kernel; IOS is derived from macOS and is based on Unix. The file structure and command set are the same, but the actual code is different and incompatible.

Is ios based on linux or unix?

#The operating environment of this tutorial: IOS15 system, iphone13 mobile phone.

ios is based on linux or unix

iOS is actually an ARM variant of Darwin, derived from BSD, a UNIX-like kernel, and Apple's own Mach kernel extension system. This is completely different from Linux, which is a monolithic kernel, meaning that all driver code and I/O toolkit are part of the core kernel.

Apple is a hybrid kernel. Some live in the kernel, some are kernel extensions (usually .kext files). In comparison, Windows is a microkernel, meaning there is very little in the kernel and almost everything is an external driver.

Linux is also similar to UNIX, but it is not BSD. Linux actually came about because Linus Torvalds decided that he liked the concepts of UNIX and BSD, but he didn't like the execution of those projects. Essentially, macOS, iOS, BSD, and Linux are all siblings. Similar DNA, but different in their own rights, UNIX is the daddy.

"Linux OS" is actually GNU/Linux, which means that GNU provides users with all the software tools (i.e. the commands you enter on the command line), while "Linux" is the one on which all the tools are located of the core. Linux was created by Linus Torvalds to avoid the licensing issues of using Minix or the cost issues of UNIX or Windows. He created it as a clone of Minix, which in turn was a UNIX replacement originally designed for academic use.

iOS is derived from macOS (OSX), which is derived from NextStep, which is derived from BSD Unix. So a cousin, but not Linux. Like Linux and MacOS, iOS is based on UNIX. The file structure and command set are the same, but the actual code is different and incompatible.

Recommended learning: Linux video tutorial

The above is the detailed content of Is ios based on linux or unix?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Is linux open source?Next article:Is linux open source?