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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1d321b3a6b8bcab2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-16 10:47:13 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: dewar@cs.nyu.edu (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: "Subtract C, add Ada" Date: 16 Jan 1995 13:47:13 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <3feevh$615@gnat.cs.nyu.edu> References: <3etund$hnr@miranda.gmrc.gecm.com> <3f4mbe$rud@cronkite.seas.gwu.edu> <3fcjgt$b0v@cronkite.seas.gwu.edu> NNTP-Posting-Host: gnat.cs.nyu.edu Date: 1995-01-16T13:47:13-05:00 List-Id: "Dennis Ritchie once said in an interview that there is *nothing* in the C language that keeps compiler writers from issuing stringent warnings about stuff that most Ada people take for granted." Dennis may have said this, but it is misleading. Yes, there is stuff that Ada people take for granted that C compilers could (and in some compilers *do*) check for. But there are lots of things that Ada people take for granted that cannot be checked in C, there just isn't enough information. C has no separation of scalar types, no ranges on scalar types, and the ubquitous use of pointers, and their similarity to arrays means that sophisticated aliasing analysis is required to even approximate the type checking that occurs in the context of access types in Ada. There are many other examples.