
编程思想
nwpu053883
这个作者很懒,什么都没留下…
展开
-
zero copy技术
继续挖坑...https://www.jianshu.com/p/8c6b056f73cehttps://leokongwq.github.io/2017/01/12/linux-zero-copy.htmlhttps://www.cnblogs.com/victor2302/p/11381597.htmlhttps://juejin.im/post/5d84bd1f6fb9a06...原创 2019-12-04 10:27:29 · 113 阅读 · 0 评论 -
Linux内核中的面向对象设计
lwn.net网站有两篇文章, 学习一下...https://lwn.net/Articles/444910/https://lwn.net/Articles/446317/Object-oriented design patterns in the kernel, part 1面向对象相关知识有 objects(对象), classes(类), method(方法), inher...原创 2019-12-03 15:49:47 · 598 阅读 · 0 评论 -
Linux 内核面向对象思想及实现
面向对象, 并不一定需要C++, JAVA语言才能实现。 C语言也能实现, 比如Linux内核。C语言实现面向对象的思想,1. 封装, 将数据和方法都封装在数据结构中, 其中方法可以使用函数指针来实现。2. 继承,3. 多态, 即具体的函数调非编译器决定, 而是程序运行期间决定, 即所谓的晚绑定(Late Binding)。 即封装中的函数指针, 可根据具体...原创 2019-12-03 11:51:14 · 2327 阅读 · 1 评论