There was a talk "C++ Coroutines, from Scratch - Phil Nash - CppCon 2022", where everyone complained about bringing this irrelevant domain-specific information to the talk, which obscures an understanding of coroutines and how they work. One year later and the same situation: 30 minutes are spent on this irrelevant abstractions over some financial data processing. Why?
@philnash3269 Жыл бұрын
Sorry it didn't work for you. I did warn that it wouldn't work for everyone. I have had reports from people that this really helped it to click for them, so I think it was worthwhile - and in this version I did try to minimise the less universally relevant parts. To be fair the "financial data processing" specific parts took about 3.5 minutes. It was the two non-coroutine implementations that took 30 minutes. But a lot of that was common with the coroutines implementation - the point being that much of the complex part of coroutines that most people complain about was always there - but coroutines give us the opportunity to attract that further and push it into common libraries (albeit the std library is not there, yet).
@sjswitzer1 Жыл бұрын
6 minutes of intro is a bit much
@karltraunmuller7048 Жыл бұрын
Although, frankly, I can no longer warm up to the notion that C++ offers more because of its lower-levelness or flexibility. I think it's just a dinosaur, really.