Deutsch   English   Français   Italiano  
<vmf5vv$2cse$1@gal.iecc.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <johnl@taugh.com>
Newsgroups: comp.arch
Subject: Re: Stacks, was Segments
Date: Sat, 18 Jan 2025 03:08:47 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <vmf5vv$2cse$1@gal.iecc.com>
References: <vdlgl9$3kq50$2@dont-email.me> <vmbd4n$3v6su$3@paganini.bofh.team> <vmbi6u$3js5u$1@dont-email.me> <04876fc002ab019a74c78113a36622f3@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 18 Jan 2025 03:08:47 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="78734"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <vdlgl9$3kq50$2@dont-email.me> <vmbd4n$3v6su$3@paganini.bofh.team> <vmbi6u$3js5u$1@dont-email.me> <04876fc002ab019a74c78113a36622f3@www.novabbs.org>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
Bytes: 1859
Lines: 17

According to MitchAlsup1 <mitchalsup@aol.com>:
>> Stacks are small because OS people make them small, not because of
>> a valid technical reason that has ever been explained to me.
>> "To avoid infinite recursion" is not a valid reason, IMHO.
>
>Algol 60 only had stack allocation for dynamically sized arrays,
>so stacks had to be as big as the data are.

Huh?  Algol 60 routines could be mutually recursive so unless it was
a leaf procedure or the outer block, everything not declared "own"
went on the stack.

On my FreeBSD server the default stack limit is half a gigabyte.  I
don't ever recall running into it.
-- 
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly