Bjarne Stroustrup's talk on C++ 2006-2020 @ #HOPL IV is good because it takes you from the #cpp that you remember and hate (98-11), up to the solutions they devised to tame the complexity in C++20
Conversation
Notices
-
blake shaw (rml@functional.cafe)'s status on Wednesday, 01-Mar-2023 20:58:14 CET blake shaw -
blake shaw (rml@functional.cafe)'s status on Wednesday, 01-Mar-2023 21:35:32 CET blake shaw @ekaitz_zarraga I've been reading "C++20 The Complete Guide" which is a good overview; I'd say it really comes down to is making heavy use of ranges and views with pipelines; it leads to more functional code that is generally safer. Also spans are an intuitive way of more-safely doing things you'd use pointers for while enforcing a degree of safety.
Theres still lots of little gotchas, but grepping the book has shown that it does a pretty good job of finding and documenting them. Overall, 20 seems to provide a lot of facilities to do much more safe C++ programming with common patterns of composition from fp, eliminating a fair amount of C++ induced anxiety
-
blake shaw (rml@functional.cafe)'s status on Wednesday, 01-Mar-2023 21:47:14 CET blake shaw @ekaitz_zarraga what I do whenever I'm digging into a subject is to go ahead and steal all the books on the subject as epubs, keeping them in their own directory and then grep the dir religiously. search engines are pretty much useless these days.
-