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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5ecb5248e650e812 X-Google-Attributes: gid103376,public From: jsa@alexandria.organon.com (Jon S Anthony) Subject: Re: Ada and robots Date: 1997/06/23 Message-ID: #1/1 X-Deja-AN: 252072451 Distribution: world References: <199706201607.MAA01178@mermaid.ctron.com> Organization: PSI Public Usenet Link Newsgroups: comp.lang.ada Date: 1997-06-23T00:00:00+00:00 List-Id: In article <199706201607.MAA01178@mermaid.ctron.com> Huy Vo writes: > >Um, this just means Ada _labels_ unchecked conversion as dangerous. In C > >it may be "simple", but it is NOT "safe". (Maybe you forgot a smiley?) > > > Safe or not safe, it looks like Ada programs can crash on the field like > a previous poster admitted. The worse thing is that it leaves no trace > as to what leads to the crash. And other posters have to come up with > ugly 'C hacks' to provide traceback of Ada programs. There goes the myth > that Ada programs need no debugging. a) No one is dumb enough to suggest Ada programs are by nature some how bug free. So, you are just giving a silly strawman b) Trace backs or not are _implementation_ dependent. Plenty of C implementations have nothing to offer here either (put together with the fact that most have absolutely worthless compile time diagnostics and you have something that basically offers zero support). c) In this particular case (fiddling with machine level representations) the most you can conclude from your "comment" is that neither has an advantage over the other, i.e., for this _particular_ case, you claim that it's a wash. d) Even in HW interfacing there is a _lot_ more going on than the actual machine level fiddling. This work invariably requires (implicitly or explicitly) higher level abstractions. e) No one is dumb enough to suggest C has high level abstraction capabilities such as found in Ada. f) Since a) & b) are irrelevant, c) is a wash and d) & e) favor Ada, you would still have to claim a _general_ positive for Ada even under your account. /Jon -- Jon Anthony OMI, Belmont, MA 02178 617.484.3383 "Nightmares - Ha! The way my life's been going lately, Who'd notice?" -- Londo Mollari