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,c7ea1cb7a2beb2ee X-Google-Attributes: gid103376,public From: "Tarjei T. Jensen" Subject: Re: Disallowing Pre-Defined Operations Date: 2000/04/07 Message-ID: <8ckre7$o2p2@ftp.kvaerner.com>#1/1 X-Deja-AN: 608012122 Content-Transfer-Encoding: 7bit References: <8a9eeg$qtv$1@newpoisson.nosc.mil> <38D2E598.262D1CD5@erols.com> <8b0pbg$aph$1@nnrp1.deja.com> <38D9A2E8.F720768@erols.com> <8bcalg$pmb$1@nnrp1.deja.com> <38EBDD10.65444727@earthlink.net> <38EC160F.E2A13F44@quadruscorp.com> <8cic1h$195$1@nnrp1.deja.com> <38ED3145.BE3CEC68@quadruscorp.com> <38EE18A8.FD5F1A05@quadruscorp.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Kv�rner Group IT Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-04-07T00:00:00+00:00 List-Id: Marin D. Condic wrote > >I don't like the notion of creating another reserved word if it can be >avoided. Obviously, the less intrusive my pet feature is, the more >likely it would be to end up in someone's compiler as an option. I could >imagine it being provided as a generic package, but my fear there is >that without some sort of "special treatment" by the compiler, the code >would be too slow to be useful in a real time system. Any suggestions? Why should it be slow??? All (at least most) of the action should be at the compile stage. That is when the checking is done. The generated code should run as usual. All that happens is that there should be fewer run-time errors to discover since the universe describe all the legal operatons with the various datatypes. If you try to multiply velocities the compiler will tell you that it is not legal. Greetings,