Demo: C++20 Generator Coroutines

preview_player
Показать описание
Compares a demo with naive data loading vs manual iterator implementation vs a C++20 co_yield generator. I also compare a bit with JS and C#.
Рекомендации по теме
Комментарии
Автор

This has gotta be my new favorite channel. You're a great presenter, and really stoke my interest in languages conceptually. I'm a really new developer (not quite 1 year of professional experience), so I hope in my career I'm able to cultivate a similarly wide knowledge of design patterns.

MH-rifb
Автор

It's great to see how c++ is getting a big overhaul.

mkmier
Автор

I like the 'demo/spotlight' format of these videos. Very concise and easy to digest; I was not interested in this particular addition to the language, but seeing even this naive example does spark my interest somewhat. Thank you.

Nerthym
Автор

Finally a good programming channel on YouTube

vikrampal
Автор

"It is sort of an illusion that you get that you have control, while somebody else really is controlling you"

trolledwoods
Автор

Shouldn't it be for(auto const& row: read_rows(file)) if you are returning a const reference?

haskell-with-an-extra-chro
Автор

how did you get an access to c++20 modules and gcc 10.0.0 (i.e. download them)?

omokokkoro
Автор

The Power of the Dark Side of C++20...

friedrichdergroe
Автор

Really cool... BTW, what's the VScode extension you are using for C++ static analysis? It looks great.

dayan
Автор

Here are people discussing co-routines in C++ and here is me using them in Unity/C# for 12 years without even understanding what they really are O.o

vladmrkrnev
Автор

The Author failed to mention the make-up of "Common.hpp" file?

imrank
Автор

nim makes it better. If it "iterator" instead of "proc", it becomes generator.