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,62f1e030ed61b97b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-12 11:13:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: newbie inquiry Date: 12 Jun 2002 14:04:20 -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 1023905493 10577 128.183.220.71 (12 Jun 2002 18:11:33 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 12 Jun 2002 18:11:33 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:25813 Date: 2002-06-12T18:11:33+00:00 List-Id: "Steven Shaw" writes: > Features I kinda know Ada has (but might be wrong) > * modules Called 'packages' > * fixed string and dynamically growing strings (excellent) yes > * generics yes > Features I'm hoping Ada has: > * gc I assume you mean "Garbage Collection" here. The Ada standard allows garbage collection. Most implementations don't provide it. Those targeted at the Java virtual machine do provide it. > * multiple interface inheritence (like Java, m3 doesn't have it) The Ada standard does not provide this. The Ada compilers targeted at the Java virtual machine have extensions that do provide it. > * fast language interoperability with C (ffi and data sharing) I'm not clear what you mean. If you mean Ada functions can efficiently call C functions, and vice versa, then yes, Ada has this. > * ability to put data/objects into shared-memory for sharing between > processes This is not in the Ada standard, nor in any other language standard, that I know of. I don't know of any language that has the notion of "process"; many have "task" or "thread", but they share an single address space. This is typically done by importing an operating system function, which can easily done by Ada code. > * speed of C? Yes, some Ada compilers produce machine code that is as fast as that produced by some C compilers, for equivalent input source code. The converse is also true :). > * libraries for database access, sockets/protocols, xml Yes, although probably not as much as C or C++ or Java or Cobol. > The Ada spec is very big. In page count, it's smaller than the C++ spec. > Is it all implemented in gnats? In GNAT, yes. Other compilers implement most of Ada; they leave out some of the optional annexes. > Are there features in the spec that could/should be avoided? No. Unless you are doing hard real-time, but that's not a language implementation issue. -- -- Stephe