Some of the hardest parts of #multithreaded and #async #programming is the lack of clearly defined terms for higher level concepts. Sometimes terms are overloaded. Other times I don't have a word to describe a thing.
Like, you don't ever return from an async function. You just provide a callback that takes the "return" type as a parameter and "carry" whatever necessary data you need from your existing stack frame.
-
-
But we strive to make the code not look that way (ie, co_await). Because the code looks one way but effectively functions another way, it's hard to describe these sort of concepts or being effective at pointing out nuances.
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.