| Deutsch English Français Italiano |
|
<v71vo1$gomv$8@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.arch Subject: Re: Continuations Date: Mon, 15 Jul 2024 01:58:25 -0000 (UTC) Organization: A noiseless patient Spider Lines: 13 Message-ID: <v71vo1$gomv$8@dont-email.me> References: <v6tbki$3g9rg$1@dont-email.me> <v6ti18$3gru4$2@dont-email.me> <gu6cnQQEufsKAQ77nZ2dnZfqn_WdnZ2d@supernews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 15 Jul 2024 03:58:25 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1b59215ee469cb43c7a2e484d3f8125c"; logging-data="549599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+s3eFOSN/VOQOHcc4uDj9L" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:YdJ/mGKFz0wcxw9VKUqg5UOZ32c= Bytes: 1653 On Sun, 14 Jul 2024 09:38:31 +0000, aph wrote: > But I can't immediately think of any language with > continuations and without GC. They kinda go together. Instead of “GC”, I would say “dynamic allocation”. Consider languages like Python and Perl, which do reference-counting as a first resort, only falling back to full-on garbage collection when reference-counting is no longer enough. That gives you the best of both worlds. Of course, neither of of them has continuations as such, or at least fully-general ones: Python does have both “generator” functions and the newer async/await-style “stackless” coroutines.