面向对象内核设计模式,第二部分

最新ubuntu/linux/开源新闻或者其它IT相关资讯
回复
头像
vikyzhang
帖子: 677
注册时间: 2010-10-18 14:39
联系:

面向对象内核设计模式,第二部分

#1

帖子 vikyzhang » 2011-06-28 9:22

Object-oriented Design Patterns in the Kernel, Part 2
面向对象内核设计模式,第二部分
posted by Elv13 on Mon 27th Jun 2011 14:17 UTC
发表于:2011年6月27日 北京时间22:17

"In the first part of this analysis we looked at how the polymorphic side of object-oriented programming was implemented in the Linux kernel using regular C constructs. In particular we examined method dispatch, looked at the different forms that vtables could take, and the circumstances where separate vtables were eschewed in preference for storing function pointers directly in objects. In this conclusion we will explore a second important aspect of object-oriented programming - inheritance, and in particular data inheritance."
“在该分析(面向对象内核设计模式专题)的第一部分,我们看到了如何使用普通C结构体,在Linux内核实现面向对象编程的多态方面。特别地,我们考察了方法调度,查看了虚函数表可以存在的不同形式,以及为直接在对象内存储函数指针,单独的虚函数表被规避的情形。在第二部分(推论部分),我们将探索另外一个面向对象编程重要的方面——继承,特别是数据继承。”
注:《面向对象内核设计模式》两部分内容(英文版)见附件

英文原文:http://www.osnews.com/story/24889/Objec ... nel_Part_2
译文原文:http://www.linux-ren.org/modules/newbb/ ... 6&forum=72
转载请注明:Linux人社区英文资讯翻译专版 编译
Linux人社区开源新闻资讯翻译专版小编。翻译来自互联网上最新的英文开源资讯,提供给大家最迅即、最忠实于原文的开源业界动态、软件更新、有用技能等等。不至之处欢迎指正![email protected]
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 面向对象内核设计模式,第二部分

#2

帖子 nmsfan » 2011-06-28 9:41

这回看不懂
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
回复