2 ms·
C# has what you've described as well in the form of yield return. It's largely the same thing to the compiler in that it needs to transform a method into a sta
by kllrnohj 9y ago
C# has what you've described as well in the form of yield return.
It's largely the same thing to the compiler in that it needs to transform a method into a stack-less state machine. Whether or not the state machine is evaluated lazily on demand or concurrently is mostly irrelevant and just depends on the specific problem in question.