Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c > #759

Re: Continuations in C?

From BGB <cr88192@hotmail.com>
Newsgroups comp.std.c
Subject Re: Continuations in C?
Date 2011-08-16 10:53 -0700
Organization albasani.net
Message-ID <j2eb4t$qcc$1@news.albasani.net> (permalink)
References <4e463a29$0$4151$6e1ede2f@read.cnntp.org> <j25icu$snr$1@news.albasani.net> <4e48cf8b$0$4152$6e1ede2f@read.cnntp.org>

Show all headers | View raw


On 8/15/2011 12:49 AM, Philipp Klaus Krause wrote:
> Am 13.08.2011 12:02, schrieb BGB:
>>
>> realize, of course, that this is about like asking C to add lambdas (and
>> proper ones too, not the half-assed ones added to C++ and GCC...).
>
> lambdas would require a change in the language. My proposal is just two
> new function in the standard library.
>

except that one would end up with either:
something that generally sucks;
potentially requiring non-trivial changes in the implementations.

the "sucks" option (IOW: something like setcontext), could itself be 
implemented as part of the HLL's runtime, and is in-fact one of the less 
complex parts of implementing a VM or compiler.

Back to comp.std.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Continuations in C? Philipp Klaus Krause <pkk@spth.de> - 2011-08-13 10:47 +0200
  Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-13 03:02 -0700
    Re: Continuations in C? Philipp Klaus Krause <pkk@spth.de> - 2011-08-13 13:19 +0200
      Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-13 12:29 -0700
    Re: Continuations in C? Philipp Klaus Krause <pkk@spth.de> - 2011-08-15 09:49 +0200
      Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-16 10:53 -0700
  Re: Continuations in C? jacob navia <jacob@spamsink.net> - 2011-08-14 10:13 +0200
    Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-14 08:57 -0700
      Re: Continuations in C? Wojtek Lerch <wojtek_l@yahoo.ca> - 2011-08-14 23:38 -0400
        Re: Continuations in C? Philipp Klaus Krause <pkk@spth.de> - 2011-08-15 09:48 +0200
          Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-16 10:56 -0700
  Re: Continuations in C? Tim Rentsch <txr@alumni.caltech.edu> - 2011-08-30 15:36 -0700

csiph-web