[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ preferences

From: Akim Demaille
Subject: Re: C++ preferences
Date: Thu, 13 Sep 2018 18:53:58 +0200

> Le 13 sept. 2018 à 11:12, Hans Åberg <address@hidden> a écrit :
>> On 13 Sep 2018, at 07:00, Akim Demaille <address@hidden> wrote:
>> I recently had to work on some piece of software with coroutines,
>> and known what variables are immutable was really reassuring.
> A C++ Simula library implemented coroutines using threads. So coroutines 
> maybe are not a must.

It must be incredibly slow!  And the model is really different,
interruptions are controlled with coroutines, while threads are
preemptive.  These two models are not equivalent at all imho.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]