Re: 3rd party Device driver development tool or pure- wdm driver development..Which is the bes

>-----Original Message-----

From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Wednesday, October 31, 2001 5:46 PM
To: NT Developers Interest List
Subject: [ntdev] Re: 3rd party Device driver development tool or pure
wdm driver development…Which is the best???

Why thank you.

No I was saying that C++ has compiler extensions designed to make it easier
to write re-usable and extensible code. Those extension are in fact missing
from C. That is why C++ is a superset of C.

Not exactly - there were small but significant differences
between C and C-like subset of C++ from the very beginning.
Currently, with the advent of C99 standard, divergence is a lot
more pronounced.

Thus you have various contortions in the NT operating system to provide
what
resembles class inheritance and virtual functions. Thus you have horrid
side-effect ridden function macros instead of inline functions. Thus you
have similar functions with slightly different names providing identical
services for sets of similar objects, rather than templates or overloaded
function names. I think I omitted mentioning ‘linkable’.

What makes C++ a very dangerous instrument in inexperienced
hands is exactly its ability to silently change semantics without
changing interface ( especially in presence of STL - well, in this
case a simple line like
if (status != status_t::ok_e)
may hide function call; hopefully, nobody advocates using STL in
driver development yet).

By the way, there are quite a few carpenters who insist that a screwdriver
is for removing screws, and a hammer is for inserting them.

No arguing with this :slight_smile: The whole thread is about definition of a
screwdriver and a hammer, though :slight_smile:

Regards,
Alex Krol


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com