Home  >  Article  >  Operation and Maintenance  >  What language is linux written in?

What language is linux written in?

青灯夜游
青灯夜游Original
2022-03-02 11:32:0622013browse

Linux is written in C language and assembly language. C language is the "native language" of Linux, which is also caused by the open source environment and its own mechanism of Linux; most of the Linux kernel is written in C language, and some are written in assembly language, because for hardware, assembly has more Good performance and speed.

What language is linux written in?

#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

Linux, the full name of GNU/Linux, is a UNIX-like operating system that is free to use and freely disseminated. Its kernel was developed by Linus Benedikt Torvalds on October 5, 1991. Released for the first time, it is mainly inspired by the ideas of Minix and Unix. It is a multi-user, multi-task, multi-threading and multi-CPU operating system based on POSIX. It can run major Unix software tools, applications and network protocols. It supports 32-bit and 64-bit hardware. Linux inherits the network-centric design philosophy of Unix and is a multi-user network operating system with stable performance.

SoWhat language is Linux developed in? Many newbies are not very clear about this? Let’s take a look:

Linux is written in C language and assembly language.

C language is the "native language" of Linux, which is also caused by the open source environment and its own mechanism of Linux.

Most of the Linux kernel is written in C language, and some are written in assembly language, because assembly has better performance and speed on the hardware.

Some component systems and additional applications of Linux are written in C, C, Python, perl and other languages.

Features of the Linux operating system:

  • Linux is not only free, but also open source, which means that anyone can get it code and modify it to suit your needs. In fact, this has spawned a huge ecosystem of dedicated Linux distributions.

  • Linux is compatible with Unix systems. The system is built using some of the same technologies as the UNIX operating system and has almost all the excellent features of Unix (the stability and security of the system are particularly outstanding) ).

  • Compared with other operating systems, Linux is easier to install and will not be restricted by any commercial version.

  • Linux makes it possible to do all sorts of actually useful and creative things. For example, we can load Linux's live boot image on a USB flash drive, start a computer whose hard disk has crashed, and then find and solve the problem. Or, because Linux is a true multi-user operating system, it is so private and stable that the entire team can log in locally or remotely to work at the same time.

  • Linux provides a sophisticated software package management system that allows you to confidently install and maintain software applications in every online resource library.

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What language is linux written in?. 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