Re: C++ in kernel (was Re: exception in a device driver)

kwrohrer@ce.mediaone.net
Mon, 11 Jan 1999 02:05:01 -0600 (EST)


And lo, Chip Salzenberg saith unto me:
>
> According to tytso@mit.edu:
> > This is precisely why I don't like C++. It take an awful lot of work to
> > reverse engineer what a C++ compiler is doing when there's overloading,
> > virtual classes, type coercion, function overloading, and all the rest.
>
> > This is why IMHO handing C++ to the average programmer seems roughly
> > comparable to handing a loaded .45 to a chimpanzee.
>
> You seriously expect average programmers to hack Linux? I don't.

It's the average programmers who will be writing the device drivers.
After all, if they were good with hardware and software then Transmeta
has already hired them, so if they're good with hardware and don't
work for Transmeta then they have only average ability to write the
driver with.

I don't want to give free reign for merely average programmers to throw
exceptions outside their code. Especially since last I knew C++ still
didn't force you to declare everything you throw...

Keith

-- 
 "Well, look at that.  The sun's   | Linux: http://www.linuxhq.com     |"Zooty,
  coming up." -- John Sheridan,    | KDE:   http://www.kde.org         | zoot
  "Sleeping in Light", Babylon 5   | Keith: kwrohrer@enteract.com      | zoot!"
www.midwinter.com/lurk/lurker.html | http://www.enteract.com/~kwrohrer | --Rebo

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/