comp.lang.ada
 help / color / mirror / Atom feed
From: "Ed Falis" <falis@ma.aonix.com>
Subject: Re: NT kernel-mode device drivers in Ada?
Date: 1997/06/05
Date: 1997-06-05T00:00:00+00:00	[thread overview]
Message-ID: <EBA2GE.3uq@thomsoft.com> (raw)
In-Reply-To: 339336BB.602D@top.monad.net


We haven't yet had a chance to try it, but we believe it to be feasible to
write device drivers in Ada with our product (ObjectAda).  It's on my "to
do" list.

The main issue is that for now you would have to provide import pragmas for
the DDK routines you use, as well as selecting the appropriate types from
interfaces.c or the win32api binding.  You will probably also need to
exercise some care about what features you use.

- Ed
 Steve O'Neill wrote in article <339336BB.602D@top.monad.net>...
>Mike D Bates wrote:
>>
>> Could use some help in answering yet another objection to Ada.  Has
>> anyone here successfully implemented an NT kernel-mode device driver.
>> A FAQ on the subject (http://www.cmkrnl.com/faq.html) says that using
>> anything but C for this purpose would be like swimming upstream with a
>> brick in each hand.  Can anyone cite experience to the contrary?
>
>Is there some reason why you would not want to use the best (i.e. most
>effective) language in its appropriate domain?  If you don't relish
>swimming upstream with bricks then don't.  Use C (or the advisable
>portions of C++) for the device driver development where it appears to
>have advantages in terms of productivity.  Use Ada for the majority of
>the simulator where, IMHO, it definitely has productivity advantages.
>Provide and Ada interface to the driver.
>
>Just because it's what NT was written in and is the best supported
>language to write drivers in doesn't mean that C should be the only
>language used to develop the entire application.
>
>I doubt that the cost of the two compilers combined could even come
>close to the cost incurred by using Ada for driver development or C for
>simulation development and support.
>
>Steve O'Neill
> 






  reply	other threads:[~1997-06-05  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-01  0:00 NT kernel-mode device drivers in Ada? Mike D Bates
1997-06-01  0:00 ` Larry Kilgallen
1997-06-01  0:00   ` Mike D Bates
1997-06-01  0:00 ` Dale Stanbrough
1997-06-02  0:00 ` Simon Wright
1997-06-02  0:00 ` Steve O'Neill
1997-06-05  0:00   ` Ed Falis [this message]
1997-06-05  0:00     ` Matthew S. Whiting
1997-06-05  0:00 ` Adam Beneschan
1997-06-07  0:00 ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox