Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Anton Antimo Newsgroups: comp.programming Subject: Re: continuations in ``the art of computer programming'' Date: Sun, 27 Sep 2026 11:21:25 -0300 Organization: A noiseless patient Spider Lines: 13 Message-ID: <877bk6dbbu.fsf@safunu.org> References: <87se31fd84.fsf@safunu.org> <87tsnhtbbl.fsf@ID-208667.user.individual.de> <87ld8qd1px.fsf@safunu.org> <1194du2$34hlg$7@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 27 Sep 2026 15:00:05 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1506769"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EcxFR/jnGr9Qaa6hezRo35nrBoDus0U8="; posting-host="b1d84ba220a6db7e12533d3a38c4b842" Cancel-Lock: sha1:UPesWFTXZ7edik0btZ7sCORK+lM= sha1:/yGEcYpKyz2EWHYr3iv4G25arhM= sha256:gKkXHtOozT0AmhCZ2hCO8xVVhxXl6tKusS9+tG15SFQ= sha1:EaI9QEqEyB8yypB62iEGEFL573o= sha256:xLHxkQ0QQOYtjtBSDBO5j+heJ4cY0CEEmmsr/SKPnpQ= Xref: csiph.com comp.programming:16931 Lawrence D’Oliveiro writes: > On Thu, 24 Sep 2026 13:59:54 -0300, Anton Antimo wrote: > >> So I think call/cc is essentially a jump over there, do something >> and take here an address for you to get back to what you were doing >> before. > > There doesn’t need to be a jump to begin with. You could just save the > return point and continue execution normally. Think setjmp/longjmp in > C -- that’s a form of continuation, too. That could be seen as a jump-to-right-over-here?