News for hackers. Stuff that matters.
Re:C++20 coroutines: “The bug is in the C++ standard, not GC... by synergy20 on Tuesday October 04, 2022 @05:24PM (#33087175)
what exactly are them? I'm also back to modern c++ but I plan to only use a subset of the super set to make life easier. for example I don't need write a c++ library so many of the new (meta-template-programming) feature I don't need to pay attention to at least for now.

what I really need are RAII, smart pointer, the STL library and algorithms basically, plus simple OOP use cases, those combined are not very complicated to me.

Re:C++20 coroutines: “The bug is in the C++ standard, not GC... by intelVISA on Tuesday October 04, 2022 @07:15PM (#33088467)
> what I really need are RAII, smart pointer, the STL library and algorithms basically, plus simple OOP use cases, those combined are not very complicated to me.

That's just about what anyone needs, I fear most people are simply too deep in their cargo cults these days to reason about a complex lang appropriately.

Re:C++20 coroutines: “The bug is in the C++ standard, not GC... by gpderetta on Wednesday October 05, 2022 @04:40AM (#33092870)
Exactly. In fact these days you need less metaprogramming, not more.
Re:C++20 coroutines: “The bug is in the C++ standard, not GC... by pjmlp on Wednesday October 05, 2022 @06:09AM (#33093426)
Agreed, I like to watch metaprogramming talks in a similar vein like solving chess match puzzles, but I hardly use any of that in my own C++ code, and tend to stay away from clever libraries.

Best part of latest improvements is that most common mortals don't have to deal with SFINAE, enable_if or tag dispatching.