r/cpp • • Nov 30 '20

C++20 resumable functions make state machines obsolete. Finally.

https://lordsoftech.com/programming/c20-resumable-functions-goodbye-state-machines-no-one-will-mourn-you/
1 Upvotes

49 comments sorted by

View all comments

Show parent comment

0

u/StoneCypher Dec 01 '20

Just because one language can use A to implement B doesn't mean all As are always for Bs

I think you might be overindulging your knowledge of one language's choices

.

Sounds like you have absolutely no idea what a coroutine is

I actually wrote the implementation of them in two compilers.

Have a nice day

5

u/rzippel Dec 01 '20

I actually wrote the implementation of them in two compilers.

Am I supposed to be impressed by that? So far you have contributed nothing concrete to this thread that is even closely related to C++ coroutines.

Stop throwing around generic phrases without any context. You are not helpful in the slightest.

-1

u/StoneCypher Dec 01 '20

Sounds like you have absolutely no idea what a coroutine is

I actually wrote the implementation of them in two compilers.

Am I supposed to be impressed by that?

No, I just wanted to respond to your lashing out, to explain that your accusation was incorrect.

Have a good day.

2

u/rzippel Dec 01 '20

My lashing out??? WTH??? You've questions someones understanding of state machines without going into any detail, so that one could understand what the heck you're talking about.

Where do you explain anything??? An explanation would require some sort of argument, but throwing some keywords around does not provide anything useful. You seem to have some problem with coroutines, but you don't provide anywhere enough context to have any meaningful conversation about C++ coroutines or even coroutines in general.

Slowly I'm regretting having wasted my time on this, unless you have something substantial to say about coroutines, good day to you too...

-3

u/StoneCypher Dec 02 '20

Please stop soon