Re: SBCL Fibers proposal

Stas Boukarev <[email protected]> Fri, 13 Mar 2026 18:40:59 +0300
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <CAF63=13Uk4i0t4g-xQUmt8ETc7rN8mWf5ezyvzNWNNei+hD=8w@mail.gmail.com>
Are you comparing with what SBCL does? SBCL does not use 8MB for a
stack. (And if you are not comparing against SBCL, then why are you
doing that?)
And it also reuses the allocated thread structs from previously exited threads.


On Fri, Mar 13, 2026 at 6:34 PM Philipp Marek <[email protected]> wrote:
>
> > SBCL allocates its own stack. Control, and binding, and alien, and tls
> > values, and altstack.
>
> Yes, but the 8MB value was for comparing
> - acceptable recursion depth incl. stack allocations
> - vs. memory usage
> - in pthreads and various implementations of fibers,
> so not about SBCL specifics?
>
>
> At least, that's what ISTR.


_______________________________________________
Sbcl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-devel