Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: EuroForth 2025 preliminary proceedings Date: Tue, 20 Jan 2026 00:35:35 -0800 Organization: A noiseless patient Spider Lines: 12 Message-ID: <87bjioptpk.fsf@nightsong.com> References: <69688c01$1@news.ausics.net> <2026Jan15.130413@mips.complang.tuwien.ac.at> <87wm1gpvdr.fsf@nightsong.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 20 Jan 2026 08:35:36 +0000 (UTC) Injection-Info: dont-email.me; posting-host="32ff80bdea94a628940a59cb45256715"; logging-data="1124585"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LqiQbjBZoN8pOZvrF8BPK" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:lETSZ9tsAxrNdRuZ82oyeNPq8i8= sha1:BshirJTp90lMIyGWx+OTnrZ0T9c= Xref: csiph.com comp.lang.forth:134523 albert@spenarnc.xs4all.nl writes: > If you pass an address a as a tail call is it approximately equal > to coroutines: No I don't think so. The tail call is just a jump to that address (changes the program counter). A coroutine jump also has to change the stack pointer. See the section "Knuth's coroutines" here: https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html Some Forths have a CO primitive that I think is similar. There is something like it on the Greenarrays processor.