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.4 required=5.0 tests=BAYES_00,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9c41ceb9ae09ec6d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-10 17:28:46 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!paladin.american.edu!auvm!PSAVAX.PWFL.COM!CONDIC Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: comp.lang.ada Message-ID: Date: Fri, 10 Mar 1995 10:56:52 EST Sender: Ada programming language From: CONDIC@PSAVAX.PWFL.COM Subject: Re: ADA FUNCTIONS TO PROCEDURES Date: 1995-03-10T10:56:52-05:00 List-Id: From: Marin David Condic, 407.796.8997, M/S 731-93 Subject: Re: ADA FUNCTIONS TO PROCEDURES Original_To: PROFS%"SMTP@PWAGPDB" Original_cc: CONDIC Robert Dewar writes: > >Can you tell us, just for curiosity, why anyone would want such a tool? >I would be surprised if one exists, because I can't see any legitimate use >for it! > I'd be inclined to agree, except for one possible issue. Depending on the compiler, target hardware, etc. it's concievable that there might be more overhead associated with a function call than a procedure call. In some applications where you might be fighting for every microsecond, even a relatively small savings in overhead might make it worth the effort. That way, you can program with the "function" call where it makes good programming sense, yet do a conversion prior to compilation to squeeze a few extra ergs out of the application. Of course, I don't know if that's the issue here - just a guess as to why someone *might* want to find such a tool. Pax, Marin Marin David Condic, Senior Computer Engineer ATT: 407.796.8997 M/S 731-93 Technet: 796.8997 Pratt & Whitney, GESP Internet: CONDICMA@PWFL.COM P.O. Box 109600 Internet: MDCONDIC@AOL.COM West Palm Beach, FL 33410-9600 =============================================================================== Please send responses to one of the addresses in this trailer. A "reply" to the address in the message header will bounce. =============================================================================== "If you don't say anything, you won't be called on to repeat it." -- Calvin Coolidge ===============================================================================