Re: PATCH 2.5.4 i810_audio, bttv, working at all.

Martin Dalecki
2002-02-15T07:39:39Z

Linus Torvalds wrote:

>On Thu, 14 Feb 2002, Jeff Garzik wrote:
>
>>>But I'd like to see resulting epic100.tmpl ;-).
>>>
>>When you have to maintain more than 10 "cookie cutter" net drivers that
>>are 80-90% the same, you start to want such extremes :)
>>
>
>It's not necessarily a bad idea to have a more capable preprocessor than
>the C preprocessor. I've cursed preprocessor limitations before, and I
>there was some discussion about using m4 several years ago (and I mean
>_several_ years ago - if I were to guess I'd say 6-8 years ago..).
>

The idal solution would be some kind of stripped down C++ for some of
those problems...
No rtti, no templates, no exceptions, no additional cruft requirng back
behind you runtime
support for the language, but just plain simple direct struct
inheritance kind off ;-).