comp.lang.ada
 help / color / mirror / Atom feed
From: CONDIC@PSAVAX.PWFL.COM
Subject: Re: ADA FUNCTIONS TO PROCEDURES
Date: Fri, 10 Mar 1995 10:56:52 EST
Date: 1995-03-10T10:56:52-05:00	[thread overview]
Message-ID: <INFO-ADA%95031010004644@VM1.NODAK.EDU> (raw)

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 <dewar@CS.NYU.EDU> 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
===============================================================================



             reply	other threads:[~1995-03-10 15:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-10 15:56 CONDIC [this message]
1995-03-10 22:20 ` ADA FUNCTIONS TO PROCEDURES Henri Altarac
1995-03-11 16:26   ` Pug 156
1995-03-11 21:27   ` James A. Krzyzanowski
1995-03-11 22:24     ` David Weller
1995-03-12  3:21       ` Henri Altarac
1995-03-13 19:34         ` Bob Kitzberger
1995-03-13 17:39       ` James A. Krzyzanowski
  -- strict thread matches above, loose matches on Subject: below --
1995-03-08  3:24 Tuan Anh Nguyen
1995-03-09 12:05 ` Robert Dewar
1995-03-09 12:06 ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox