当前位置: 技术问答>linux和unix
关于英文版本的Linux system Programming 的一处翻译问题!!!
来源: 互联网 发布时间:2016-04-20
本文导语: System programming is most commonly contrasted with application programming. System-level and application-level programming differ in some aspects, but not in others. System programming is distinct in that system programmers must have a strong awareness ...
System programming is most commonly contrasted with application programming.
System-level and application-level programming differ in some aspects, but not in
others. System programming is distinct in that system programmers must have a
strong awareness of the hardware and operating system on which they are working.
Of course, there are also differences between the libraries used and calls made.
Depending on the “level” of the stack at which an application is written, the two may
not actually be very interchangeable, but, generally speaking, moving from applica-
tion programming to system programming (or vice versa) is not hard. Even when the
application lives very high up the stack, far from the lowest levels of the system,
knowledge of system programming is important. And the same good practices are
employed in all forms of programming.
我对里面的红线中的stack不能理解什么意思,翻译成栈等级??肯定不对,不知道这stack指代什么意思,是翻译成layout的意思吗??还请大虾指教下。本人英文比较弱,麻烦了。谢谢
System-level and application-level programming differ in some aspects, but not in
others. System programming is distinct in that system programmers must have a
strong awareness of the hardware and operating system on which they are working.
Of course, there are also differences between the libraries used and calls made.
Depending on the “level” of the stack at which an application is written, the two may
not actually be very interchangeable, but, generally speaking, moving from applica-
tion programming to system programming (or vice versa) is not hard. Even when the
application lives very high up the stack, far from the lowest levels of the system,
knowledge of system programming is important. And the same good practices are
employed in all forms of programming.
我对里面的红线中的stack不能理解什么意思,翻译成栈等级??肯定不对,不知道这stack指代什么意思,是翻译成layout的意思吗??还请大虾指教下。本人英文比较弱,麻烦了。谢谢
|
是这样的。
这里的stack,不是指我们通常说的“堆栈”的栈,而是类似“协议栈”的这个“栈”,比如TCP/IP的七层结构,这里说的也是一个分层的概念,就像1楼2楼画的
the “level” of the stack 就是指某个程序在这个分层结构里面的层次
“the application lives very high up the stack”,说的是很高层应用级的程序
|
图乱了,重发
____________________
| Application |
|_________________|
| |
| ---------
User Space | | |
|/ | Glibc |
-------------------------------
____________________
| System Call |
|_________________|
Kernel Space