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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ccb707f4c91a5f2 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: Java vs Ada 95 (Was Re: Once again, Ada absent from DoD SBIR solicitation) Date: 1996/10/30 Message-ID: <32776D5D.5768@gsfc.nasa.gov>#1/1 X-Deja-AN: 193210101 references: <325BC3B3.41C6@hso.link.com> content-type: text/plain; charset=us-ascii organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA mime-version: 1.0 reply-to: Stephen.Leake@gsfc.nasa.gov newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (Win95; U) Date: 1996-10-30T00:00:00+00:00 List-Id: Kenneth Almquist wrote: > [snip] > > There may be no distributed overhead, but there certainly is overhead. > Here are some numbers from a toy benchmark: > > Ada with Unbounded_String: 10.02 seconds > Icon (interpreted): 1.45 seconds > > [snip] > > I suspect that automatic garbage collection is required to implement > unbounded strings efficiently. In Icon, the assignment "b := a" can > be performed by simply copying a pointer. If Icon is assigning pointers, and Ada is copying values, these are NOT comparable benchmarks! To get a real comparison, the semantics must match. > Kenneth Almquist -- - Stephe