home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / ada / 2585 < prev    next >
Encoding:
Text File  |  1992-09-10  |  3.1 KB  |  67 lines

  1. Newsgroups: comp.lang.ada
  2. Path: sparky!uunet!usc!sdd.hp.com!spool.mu.edu!umn.edu!vz.cis.umn.edu!pukite                          
  3. From: pukite                          
  4. Subject: Ada comment
  5. Message-ID: <11SEP199207400651@vz.cis.umn.edu>
  6. News-Software: VAX/VMS VNEWS 1.41    
  7. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  8. Nntp-Posting-Host: vz.cis.umn.edu
  9. Organization: DAINA
  10. Date: Fri, 11 Sep 1992 12:40:00 GMT
  11. Lines: 54
  12.  
  13. two recently available Ada PC user interface libraries/bindings -
  14. AdaSAGE and Meridian Ada for MS-Windows.  As this newsgroup is
  15. the best discussion area for Ada topics, I thought I would post
  16. some mostly positive comments on the two products.
  17.  
  18.      AdaSAGE - This free set of utility packages from the Navy is
  19. impressive in its scope.  It has routines for database
  20. management, graphics, etc. along with excellent documentation and
  21. on-line indexing.  For example,  if you needed to create a full
  22. screen text editor in your Ada application,  a supplied TSR
  23. indexing utility can search for the "editor" keyword and then 
  24. place a copy of the procedure calling syntax in your
  25. code.  It requires the Alsys PC Ada compiler, but is said to
  26. support the Meridian PC Ada compiler.  For the price of 13
  27. formatted 3-1/2" high density disks and a SASE mailer, it can't
  28. be beat.  Of course it takes up quite a bit of disk space, so
  29. that I was only able to load up and test the basic AdaSAGE
  30. library of 13MBytes.  I would be interested if anyone has
  31. comments on the graphics and mouse libraries.
  32.  
  33. AdaSAGE is available from:
  34.  
  35.      NCTAMS-LANT
  36.      Naval Air Station
  37.      Bldg. V53, Room 331 (AdaSAGE)
  38.      Code N912.2
  39.      Norfolk, VA 23511
  40.  
  41.      Meridian Ada for Windows - This commercial compiler works
  42. under MS-Windows to generate Windows executables.  It has a
  43. "thin" application program interface to the Windows functions in
  44. that it maps closely to the C function specifications.  I was
  45. pleasantly surprised at how well the compiler performs (if there
  46. were problems, the sparse documentation supplied would not help
  47. too much).  The one limitation I noticed was that all the Windows
  48. call-back functions must be specified in the same top-level Ada
  49. package - which is at odds with the concept of modularity.  To
  50. run Windows Ada, what is also required besides the supplied
  51. compiler is the LIBW.LIB and MNOCRT.LIB from the Windows SDK.  A
  52. resource compiler is also recommended for generating detailed 
  53. dialog boxes.   My question: Is there a future possibility that
  54. someone will create a set of Windows library routines more in
  55. line with Ada's strong type checking and other powerful features? 
  56. To name a few examples : (1) using the Ada string type instead of
  57. pointers to character buffers, (2) invoking default parameters to 
  58. Windows calls, and (3) overloading the names of Windows routines
  59. that are distinguished by only the parameters they pass (integers,
  60. text, etc.).  I know it will reduce the efficiency of the code
  61. (not a big deal, since Windows apps are already slow) but this
  62. would make the final product more robust and maintainable (and
  63. perhaps easier to port to other windowing systems). 
  64.  
  65. Paul  Pukite
  66. pukite@vz.acs.umn.edu
  67.