本文介绍了从程序员的角度来看,Linux内核和UNIX内核(例如FreeBSD)之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从程序员的角度来看,Linux内核与UNIX内核(例如FreeBSD)之间的差异.我搜索了几篇关于此的文章.他们从用户的角度和管理员的角度(从公司经理的角度)进行了比较.任何人都可以从程序员的角度找到文章或说些什么吗?

我的意思是程序员,无论是用户土地程序员还是内核级程序员?

任何暗示或启示都非常感谢.

希望这不是一个陈词滥调的问题,会让每个人都感到不适. :P

解决方案

对于Userland程序员而言,没有什么区别. Userland编程将使用C之类的语言VM进行编码,这将取决于C库例程,以将其转换为较低级别的系统调用.

那些使用其他工具(如Perl,Python,Java等)的工具甚至会从内核中删除 more ,因此也不会直接影响它们.

就内核程序员而言,差异可能很明显,因为内核本身是不同的.尽管我在Linux上做了相当多的工作,但我还没有看到FreeBSD的内部结构,所以我不能就低级差异做出明智的评论,但是(最后一点是有见地的观点,而不是福音),因为它们运行独立的开发流,拥有完全相同的视图的可能性很小.

difference between Linux kernel and UNIX kernel(such as FreeBSD) from programmer's point of view.I searched several articles about this. They compared these from User's view and Administrator's view also from Company's manager's view.Can any body find article or say something from programmer's view?

The programmer I means, both user land programmer or kernel level programmer?

Any hints or enlightenment is really appreciate.

Wish this is not a cliche question make everybody sick. :P

解决方案

For a userland programmer, there is no difference. The userland programming will be coding to a language VM like C and it will be up to the C library routines to translate that into lower level system calls.

Those using other tools such as Perl, Python, Java and so on, are even more removed from the kernel so it will not directly affect them either.

In terms of the kernel programmer, the differences are likely to be significant since the kernels themselves are different. I haven't seen the FreeBSD internals although I've done a fair bit of work inside Linux, so I can't comment intelligently on the low-level differences but (and this final bit is informed opinion, not gospel), since they run independent development streams, the chances of having exactly the same view is small.

这篇关于从程序员的角度来看,Linux内核和UNIX内核(例如FreeBSD)之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 15:53