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 Path: utzoo!attcan!uunet!cs.utexas.edu!usc!samsung!xylogics!linus!emery From: emery@linus.mitre.org (David Emery) Newsgroups: comp.lang.ada Subject: Re: C Strings in Ada? Message-ID: Date: 11 Jun 90 17:53:20 GMT References: <920024@hpclapd.HP.COM> <920025@hpclapd.HP.COM> <1304@software.software.org> <57245@bbn.BBN.COM> Sender: usenet@linus.mitre.org Organization: The Mitre Corporation, Bedford, MA In-reply-to: adoyle@bbn.com's message of 11 Jun 90 12:57:23 GMT List-Id: Allan Doyle writes >If I take the worst case assumption that c_string >is being allocated from the heap and add it to the worst case assumption >that my Ada run-time will not be doing garbage collection (perfectly legal, >I understand), then how many of these little beasties can I convert from >Ada to C before I run out of memory? It's not clear to me that you can guarantee with a C compiler that there is not some compiler-generated heap, either. Does the C LANGUAGE guarantee non-heap allocation for a local variable??? Or does "everyone knows that's how it's done?" dave emery emery@aries.mitre.org