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 478819
To view parent comment, click here.
To read all comments associated with this story, please click here.
fithisux
Member since:
2006-01-22

It's really quite a shame that there has been traditionally so little support for modern programming techniques in the Linux kernel.


Its a shame the user does not make a comparative study of these techniques wrt gtk+ and motif.

Reply Parent Score: 2

AndrewZ Member since:
2005-11-15

There is a big difference between kernel programming and GUI programming. With kernel development you need near-real time response, highly predictable behavior, and no garbage collection.

With GUI tool kits you can annoy the user to no end with slow response, unpredictable behavior, and not collect the garbage :-)

Reply Parent Score: 4

fretinator Member since:
2005-07-06

With GUI tool kits you can annoy the user to no end with slow response, unpredictable behavior, and not collect the garbage :-)

Hey, I patented those mechanisms - they are features, designed for general amusement. Nobody better be using my paradigm!

Reply Parent Score: 2

moondevil Member since:
2005-07-08

Even though quite a few research OS do have GC on them.

Reply Parent Score: 2