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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7aeecd1069c28415 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nick Roberts Newsgroups: comp.lang.ada Subject: Re: Objects and the Stack? Date: Sat, 18 Dec 2004 04:02:15 +0000 Message-ID: <32hoe7F3mbj55U1@individual.net> References: <32fv82F3l9al7U1@individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net y8iZ5QOY9E5EpK5hvmzQlwypoeiNMT4VUyZMIGi0iK8Mz9OHI= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:7042 Date: 2004-12-18T04:02:15+00:00 List-Id: Freejack wrote: > I think the florist bindings have an Interface to the brk() and sbrk() > system calls, which is how it's usually done in C/Asm. > Perhaps by declaring the Objects to be Controlled, and then putting in > calls to brk() one might achieve the same effect. Possibly, but you'd have to have intimate knowledge of the compiler to be sure that you weren't going to work at cross purposes with it. Obviously, it wouldn't be portable, especially not to any target which didn't support sbrk(). I think, in essence, compiler support would be required. -- Nick Roberts