Linked by Elv13 on Mon 27th Jun 2011 14:17 UTC
Linux "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."
Permalink for comment 478808
To read all comments associated with this story, please click here.
object oriented techniques in kernels
by AndrewZ on Mon 27th Jun 2011 17:42 UTC
AndrewZ
Member since:
2005-11-15

It's really quite a shame that there has been traditionally so little support for modern programming techniques in the Linux kernel. It's really nice to see someone take initiative and promote some 'newness' in Linux.

Maybe some Linux kernel developers could take a look at a modern OS like Haiku, which was written in C++ and had a really nice class hierarchy from the start. ;-)
http://haiku-os.org/legacy-docs/bebook/index.html

Reply Score: 3