Timur Tabi wrote: > The real advantage comes when you're writing a driver where the design is > inherently object-oriented. I can't give an example in Linux... The VFS is inherently object-oriented. Each filesystem works by overriding a few methods stored in function table structs. The MM is well on its way to being object-oriented - check out 'struct address_space'. I haven't gotten into it much yet but I gather the various buses are also organized in much the same way. On the whole, Linux is very object-oriented, but it's not C++-oriented. The bad news is you don't get any class syntax support from the compiler, you have to write it all out by hand; the good news is that you tend to be well aware of exactly what code is being executed to do a given job. -- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Linux kernel modules development in C++ Alan Cox
- Re: Linux kernel modules development in C++ Timur Tabi
- Re: Linux kernel modules development in C+... Daniel Phillips
- Re: Linux kernel modules development in C+... Mike Touloumtzis
- Re: Linux kernel modules development in C+... Anton Altaparmakov
- RE: Linux kernel modules development in C++ Abel Munoz Alcaraz
- Re: Linux kernel modules development in C++ Helge Hafting
- Re: Linux kernel modules development in C++ Wayne . Brown
- Re: Linux kernel modules development in C++ Timur Tabi
- Re: Linux kernel modules development in C++ Daniel Phillips
- Re: Linux kernel modules development in C+... Alexander Viro
- Re: Linux kernel modules development i... Igmar Palsenberg
- Re: Linux kernel modules developm... Daniel Phillips
- Re: Linux kernel modules developm... Alexander Viro
- Re: Linux kernel modules development in C++ Igmar Palsenberg
- Re: Linux kernel modules development in C+... Timur Tabi
- Re: Linux kernel modules development i... Igmar Palsenberg
- Re: Linux kernel modules developm... Mike Touloumtzis
- Re: Linux kernel modules deve... Igmar Palsenberg
- Re: Linux kernel modules deve... Timur Tabi