Re: Does Bill Gates know about the DDK regarding C++?
- From: Mike Yoke <MikeYoke@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Jun 2005 06:37:35 -0700
I don't know about that. I never written a driver in anything other than C++.
For me its not so much about abstracting away low-level details, but rather
about the expressive power of the language. I use STL too, with allocators
that are suitable for kernel mode.
Mike
"Robert Schlabbach" wrote:
> IMHO, C++ has no business in *driver* development. Keep in mind that the
> purpose of C++ is abstraction to relieve _application_ programmers from
> certain "low-level tasks". Well low-level is exactly what you want when
> programming a hardware driver, so abstracting from the low-level makes no
> sense at all.
>
> FWIW, Microsoft *is* using C++ in some driver architectures - look at the
> AVStream/BDA samples, they're in C++ - and they SUCK. If you look at the
> BDA drivers released by some manufacturers, they're quite buggy, and I put
> part of the blame on the use of C++...
>
> When I started on AVStream/BDA, I quickly switched to plain C, and it made
> development quite a bit easier for me. I prefer to "know" each memory
> allocation and freeing, and every driver programmer should. Applications
> may leak memory, drivers can't afford to.
>
> Regards,«
> --
> Robert Schlabbach
> e-mail: robert_s@xxxxxxx
> Berlin, Germany
>
> <440gtx@xxxxxxxxx> wrote in message news:1118142023.472620.125070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > I was wondering how much Bill Gates keeps in touch with the happenings
> > in the DDK area. Is he aware the next generation DDK (WDF) will have a
> > C interface rather than C++? As a true visionary, it would be
> > interesting to know his thoughts regarding this decision. The reason I
> > ask is from a developer standpoint it seems as if someone is asleep at
> > the wheel as nothing has happened for 15 years and nothing seems on the
> > horizon. Yet all other Microsoft API's I am aware of capitalize on C++
> > features. Just curious.
>
>
>
>
.
- Follow-Ups:
- Re: Does Bill Gates know about the DDK regarding C++?
- From: Maxim S. Shatskih
- Re: Does Bill Gates know about the DDK regarding C++?
- From: Don Burn
- Re: Does Bill Gates know about the DDK regarding C++?
- References:
- Re: Does Bill Gates know about the DDK regarding C++?
- From: Robert Schlabbach
- Re: Does Bill Gates know about the DDK regarding C++?
- Prev by Date: Re: From COM port to USB... help and need some advice!
- Next by Date: Re: GSM signal strength in PDA
- Previous by thread: Re: Does Bill Gates know about the DDK regarding C++?
- Next by thread: Re: Does Bill Gates know about the DDK regarding C++?
- Index(es):
Relevant Pages
|