From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38c827f7e800d317 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-30 07:10:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: conversion Date: 30 Jun 2003 10:08:15 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1056982128 15084 128.183.235.92 (30 Jun 2003 14:08:48 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 30 Jun 2003 14:08:48 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:39929 Date: 2003-06-30T14:08:48+00:00 List-Id: "Andrew" writes: > The more I think about the string/unbounded_string inconvenience the > more I think about polymorphism. Polymorphism helps readability in > some situations. In the case of the 'utilities' functions I think > polymorphism > would provide a great service. It would help tremendously in this discussion if you would post some actual examples. Simply stating what C does is not helpful; we need to hear what you think Ada does (so we can point out what you may be missing), and why it isn't good enough (so we can help you see why it is :). > > That explains why I had the feeling of extending the functionality of the > Unbounded > package. It doesn't seem complete. Please be specific. What features/functionality is it missing? > -- In regard to separate compilation > >Better to use child packages. "is separate" is really an Ada 83 > >feature; child packages in Ada 95 is a better way to structure things. > >Sometimes "is separate" is a good way to go, but rarely. > Is the "is separate" feature going away? No. > -- In regard to gnatmem gnatmem says it will start a program and you > can provide the command line arguments to it. "gnatmem > ..." > > So, I have a program fashionably called testprog that takes two > command line arguments; a path and a filename. So I try to run > gnatmem (after compiling with debug flag) like: > > "gnatmem testprog . testdata.txt" You'll have to post the source for testprog to get help on this one. > -- In regard to GNAT > >Hmm, this is confused. GNAT _is_ the Ada Core Technologies (ACT) > >compiler. > Ok, how about the IDE portion? In addition to the compiler, ACT also produces two IDE's; GLIDE and GPS. GLIDE is a minor enhancement and packaging of Gnu Emacs, and is a very good IDE; I use Gnu Emacs (but not the GLIDE packaging) for all work, mainly because I can customize it to do _exactly_ what I want it to do, partly because it is available on _every_ operating system I care about (Windows, Linux, Lynx, Solaris, etc.). GPS is a new IDE (there is not yet a public release). It uses the Gtk GUI library, and is therefore portable across MS Windows and X-Windows (but not Lynx, yet). It is not as powerful as Gnu Emacs, and has limited user customizations. It is definitely a work in progress; the goal is to compete with MS Visual Studio etc. GPS will be eaiser to learn than GLIDE for people who are used to IDE's such as MS Visual Studio or Borland; GLIDE will be easier to learn for people who are familiar with any flavor of Emacs. There is also a small IDE called AdaGide; it is intended for student use, and has very limited functionality. It is not produced by ACT, but by a group at the Air Force Academy (I believe). -- -- Stephe