什么是OS内核?它与操作系统有何不同? [英] What is an OS kernel ? How does it differ from an operating system?

查看:1225
本文介绍了什么是OS内核?它与操作系统有何不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法理解内核和操作系统之间的区别.我看不出它们之间有什么区别.内核是操作系统吗?

I am not able to understand the difference between a kernel and an operating system. I do not see any difference between them. Is the kernel an operating system?

推荐答案

操作系统的技术定义是一个平台,该平台由一组特定的库和基础结构组成,这些库和基础结构用于在其上构建并相互交互的应用程序".从某种意义上说,内核是一个操作系统.

The technical definition of an operating system is "a platform that consists of specific set of libraries and infrastructure for applications to be built upon and interact with each other". A kernel is an operating system in that sense.

最终用户定义通常围绕提供桌面,应用程序快捷方式,Web浏览器和媒体播放器的软件包"周围的内容.内核不符合该定义.

The end-user definition is usually something around "a software package that provides a desktop, shortcuts to applications, a web browser and a media player". A kernel doesn't match that definition.

因此,对于最终用户而言,Linux发行版(例如Ubuntu)是一个操作系统,而对于程序员而言,Linux内核本身就是一个完全有效的操作系统,具体取决于您要实现的目标.例如,嵌入式系统大多只是内核,并且在它们之上运行着非常少量的专用进程.在这种情况下,内核本身将成为操作系统本身.

So for an end-user a Linux distribution (say Ubuntu) is an Operating System while for a programmer the Linux kernel itself is a perfectly valid OS depending on what you're trying to achieve. For instance embedded systems are mostly just kernel with very small number of specialized processes running on top of them. In that case the kernel itself becomes the OS itself.

我认为您可以根据该OS上运行的大多数应用程序的需求划清界限.如果大多数仅需要内核,则内核为OS;如果大多数需要运行X Window System,则您的操作系统将成为X +内核.

I think you can draw the line at what the majority of the applications running on top of that OS do require. If most of them require only kernel, the kernel is the OS, if most of them require X Window System running, then your OS becomes X + kernel.

这篇关于什么是OS内核?它与操作系统有何不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆