> Le 13 sept. 2018 à 20:56, Hans Åberg <haber...@telia.com> a écrit : > >> And the model is really different, >> interruptions are controlled with coroutines, while threads are >> preemptive. These two models are not equivalent at all imho. > > I found coroutines not so intuitive, so threads would be better if one can > accept some overhead. Also, threads can be run a pool to lessen the overhead. > This way, I made a tree-engine as opposed to a sequence of stackengines. No possible comparison. You can have 100.000 of coroutines which any problems. And again, the sheer fact that you decide when you yield to another coroutine changes everything; e.g., most of the time you don’t have to lock.
- Re: RFC: lalr1.cc: support move semantics Hans Åberg
- Re: RFC: lalr1.cc: support move semantics Akim Demaille
- Re: RFC: lalr1.cc: support move semantics Hans Åberg
- Re: RFC: lalr1.cc: support move semantics Frank Heckenbach
- Re: RFC: lalr1.cc: support move semantics Akim Demaille
- Re: C++ preferences (was: RFC: lalr1.cc: support move sem... Frank Heckenbach
- Re: C++ preferences (was: RFC: lalr1.cc: support mov... Akim Demaille
- Re: C++ preferences Hans Åberg
- Re: C++ preferences Akim Demaille
- Re: C++ preferences Hans Åberg
- Re: C++ preferences Akim Demaille
- Re: C++ preferences Hans Åberg
- Re: C++ preferences Hans Åberg
- Re: C++ preferences (was: RFC: lalr1.cc: support... Frank Heckenbach
- Re: C++ preferences (was: RFC: lalr1.cc: support... Akim Demaille
- Re: C++ preferences (was: RFC: lalr1.cc: support... Frank Heckenbach
- Re: C++ preferences (was: RFC: lalr1.cc: support... Akim Demaille
- Re: C++ preferences (was: RFC: lalr1.cc: support... Frank Heckenbach
- Re: C++ preferences (was: RFC: lalr1.cc: support... Akim Demaille
- Re: C++ preferences (was: RFC: lalr1.cc: support mov... Hans Åberg
- Re: C++ preferences (was: RFC: lalr1.cc: support... Akim Demaille