Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Coroutines package for U++
Re: Coroutines package for U++ [message #59135 is a reply to message #59134] Mon, 07 November 2022 20:31 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor
Hello Peter,

Quote:

I understand it this way, C++20 coroutines are meant to write fast state machines in a simpler way.


Yes, that's what I tried to explain above. They are meant to write very fast state machines in a very simple way.

Quote:
I do yet not understand, where does a C++ coroutine store its local variables?


Heap. (With some compiler optimizations, IIRC)


Best regards,
Oblivion


[Updated on: Mon, 07 November 2022 20:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Possible enhancement on UppHub
Next Topic: Links in UppHub
Goto Forum:
  


Current Time: Thu May 16 17:39:41 CEST 2024

Total time taken to generate the page: 0.01770 seconds