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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!news2.arglkargh.de!newsfeed.fsmpi.rwth-aachen.de!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Thick bindings to a C library and gnattest: suggestions? Date: Mon, 1 Jul 2013 23:24:57 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1372739098 12298 69.95.181.76 (2 Jul 2013 04:24:58 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 2 Jul 2013 04:24:58 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Original-Bytes: 1881 Xref: number.nntp.dca.giganews.com comp.lang.ada:182198 Date: 2013-07-01T23:24:57-05:00 List-Id: "Jeffrey Carter" wrote in message news:kqsd6d$1ik$2@dont-email.me... ... > (Aside: in a world in which GB of RAM are common, it seems odd for a > language to require explicit heap allocation, and the associated memory > management, for objects that fit in memory, but not in the stack. Surely > it would be better for the language to allow the developer to simply > declare the object, and for the compiler to decide where it will fit, and > allocate it and manage its memory appropriately. A means to disable > automatic heap allocation would be needed for systems that disallow heap > allocation.) Amen! I've been saying that for 30+ years; perhaps someday it will really be true in commonly used compilers. Randy.