2010/9/5 Denis Koroskin <2kor...@gmail.com>

> On Sun, 05 Sep 2010 16:59:31 +0400, Philippe Sigaud <
> philippe.sig...@gmail.com> wrote:
>
>  But the real challenge in the SO question is the 'going back in time'
>> part,
>> which I have trouble to understand : how can you modify x and y through a
>> multiplication and a comparison?
>>
>>
> It can be done using setjmp/longjmp, see C implementation for an example:
>
> http://homepage.mac.com/sigfpe/Computing/continuations.html
>

How can we access setjmp/longjmp in D?

Anyway, I'm a bit nervous with using such a raw statement. An oh-so-slightly
wrapped equivalent for D would be better.


Philippe

Reply via email to