AmigaActive (1206/1947)

From:Matt Sealey
Date:21 Apr 2001 at 15:56:07
Subject:Re: Stack setting

Hello Don

On 21-Apr-01, you wrote:

> On 21-Apr-01, Matt Sealey wrote:
>
>>> What is the recoomended stack size for Voyager ?
>>>
>>> Is it different for different versions ?
>>
>> Voyager sets it's own stack on startup if it's too small,
>> and allocates more than it really needs.
>
> Thanks. One less thing to worry about.
>
> Why don't all programs do that ? (Rhetorical question)

Which I'll answer anyway.

Because not all programs want to force a stack setting on
the user, plus it's a royal pain sometimes. Most apps will
check their stack, but the code to actually swap for a much
bigger one is quite complicated in a "I'd really rather be
adding features to my app" kind of boring way, unless you
use the compiler's stack replacement routine but then you
limit yourself to one compiler..

Thanks



Matt Sealey <matt@kittycat.co.uk>
Website http://www.kittycat.co.uk

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Secure your servers with 128-bit SSL encryption!
Grab your copy of VeriSign's FREE Guide,
"Securing Your Web site for Business." Get it now!
http://us.click.yahoo.com/4cW4jC/e.WCAA/bT0EAA/d8AVlB/TM
---------------------------------------------------------------------_->

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/