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."
Thread beginning with comment 478826
To view parent comment, click here.
To read all comments associated with this story, please click here.
Member since:

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.

I didn't get that at all from the linked articles. They were both studies on what OO techniques are currently used in the Linux kernel and how they are implemented. There is no "promotion" at all - it is simply a technical analysis of what is already there. There are a couple of minor (and valid) criticisms of the specific techniques used, but overall it is just a good technical analysis.

Where do you see anyone "promoting" anything?

Reply Parent Score: 2

AndrewZ Member since:

"Where do you see anyone "promoting" anything?"

This article??

Reply Parent Score: 1

galvanash Member since:

The techniques talked about in the article are ancient... The vast majority of them have been in the kernel since, well pretty much forever (Linus started doing a lot of this psuedo-OO stuff himself when it was mostly just him).

I'm just saying I fail to see how this promotes "newness" in Linux when they are describing things that have, for the most part, always been there.

Reply Parent Score: 5