C++ Coroutines from scratch -Andreas Fertig - NDC TechTown 2023

  Рет қаралды 1,920

NDC Conferences

NDC Conferences

Күн бұрын

Пікірлер: 9
@theexaustedslime
@theexaustedslime 10 ай бұрын
30:18 That seems like a lot of boilerplate for a coroutine, especially compared to other languages with similar functionality.
@Roibarkan
@Roibarkan 3 ай бұрын
This example shows how to write a coroutine on top of bare-bones c++. Given a good library (e.g. Cppcoro) it's much simpler to implement coroutines
@theexaustedslime
@theexaustedslime 10 ай бұрын
1:02:20 This doesn't seem to have been responded to at all. Is it actually true? I wish this had gotten more info because I'm not even clear on what he was trying to ask.
@thewelder3538
@thewelder3538 5 ай бұрын
I'm a quarter of the way into this video and I'm smelling some C#. Bit funny how C# has await/yield keywords. Oh and later on he's got "not" and "or". This is definitely someone that should be writing C#, not demonstrating pointless and overly complicated C++ features that nobody wants or asked for. Like many people, we pick the best features from the various standards to make nicer code, so coroutines has better have some sizable advantages to make me adopt them. Also, they need to not be confusing to people, or they're not going to get used. Am halfway through and can now say that it's all just a load of crap without any tangible benefit. It's like the C++ standards committee ran out of ideas and came up with this abomination.
@fotofoxes2255
@fotofoxes2255 10 ай бұрын
It’s living hell, sorry
@mikem.s.1183
@mikem.s.1183 10 ай бұрын
I though so, too. Then I began compiling my knowledge and experience for others in my team/project to follow. That made me think differently about it. And coroutines became easier to deal with. But it requires some caution, especially in complex scenarios.
@Gherzahn
@Gherzahn 10 ай бұрын
@@mikem.s.1183 I'm doing that now for my team. Do you have any recommended sources - articles/videoes/etc? I'm finding the large range of customization of it to be a barrier of confusion (as someone said, it's a bad sign when the community are yet to agree on a Hello-World example for coroutines)
@mikem.s.1183
@mikem.s.1183 10 ай бұрын
@@Gherzahn My role (in a scrum based team for an automotive big one) was twofold: provide good code/documentation with as much detailed analysis I could muster, and also mentor the less experienced programmers. What I did while building a MS Team's based wiki for "tough" subjects, among them coroutines: - searched for coroutines where it is being pushed a lot, C++ related sites and Kotlin. The concepts of both are identical. - I gave attention to definitions, concepts and then proceeded to a variety of examples in both languages - I also added some interoperability between different languages (Python, Go, C++ and Kotlin) - I explored the topic Kotlin Coroutines vs Java Virtual Threads (the team had experience in C++, Kotlin and Java). This helped the team. We had junior devs, mid-level devs and only 2 super seniors (programmers with 25+ years of experience). Because everyone was invited to comment, share doubts and add to that Wiki (with sessions (remotely or otherwise) with some 3 devs programming and exchanging tips or issues), we managed to move ahead. The guys were also very interested. Few things I always do: 1- I don't stick to one source. Or two, or three. 2- Initially, I don't resort to explaining things based off my experience/knowledge. There's no simple way around this and other similar topics, I think. I hope this helps a little.
@scosminv
@scosminv 7 ай бұрын
I think it is a fantastic feature which will only get better in the next c++ standards.
Standard C++ Toolset - Anastasia Kazakova - NDC TechTown 2023
54:43
NDC Conferences
Рет қаралды 1,3 М.
Is .NET any good for Audio? - Mark Heath - NDC London 2024
47:19
NDC Conferences
Рет қаралды 3,9 М.
Mom had to stand up for the whole family!❤️😍😁
00:39
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 18 МЛН
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 38 МЛН
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
C#’s Functional Journey - Mads Torgersen - NDC Sydney 2024
1:00:41
NDC Conferences
Рет қаралды 19 М.
Main Hall 06: Why is Functional Programming so hard?
37:44
DDD Melbourne
Рет қаралды 4,7 М.
TDD Revisited - Ian Cooper - NDC Porto 2023
1:13:26
NDC Conferences
Рет қаралды 16 М.
NSA Releases Internal 1982 Lecture by Computing Pioneer Rear Admiral Grace Hopper
1:29:36
The Black Vault Originals
Рет қаралды 270 М.
Mom had to stand up for the whole family!❤️😍😁
00:39