[lkml]   [2000]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Linux kernel modules development in C++
    On Thu, Sep 28, 2000 at 12:13:44PM +0200, Igmar Palsenberg wrote:
    > On Wed, 27 Sep 2000, Alexander Viro wrote:
    > > >
    > > > OO design had nothing to do with OO implementation. I can design a system
    > > > totally in OO, and implement it in C. Really stupid thing to do I think,
    > > > but it's possible..
    > >
    > > Try it someday. That's how VFS/VM/filesystems are done.
    > Tell my teacher it's a good idea, he is telling otherwise :)

    Teaching people to UNDERSTAND and THINK in OO methods can help
    in several problems. There is no absolute requirement that
    final implementations are done in any sort of OO languages.

    .. any language with structures, data- and function pointers
    is trivially yieldable to do OO things.

    All it takes is to have some discipline, and a way of thinking
    to make object oriented C. (Without templates, and exceptions
    perhaps, but object anyway.)

    Most people seem to think that having syntactic sugar coating
    everything is a must for an OO language. I don't feel so, but
    I begun with USCD p-system Pascal, continued with CLU(ster),
    and finally learned C.

    Of those, CLU is full of sugar, all ideas that are presented
    as "new" in C++ I have exploited in CLU back in late 1980es.
    (And I mean *all*, exceptions and templates included!)
    (But back then I used 36 bit mainframes by Digital..)

    > Igmar

    /Matti Aarnio
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:38    [W:0.040 / U:11.052 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site