What’s the C++20 feature (lang/lib) you know least about, or you struggle to grasp? Mine is: Modules #cpp
C++ folks, what are the highlights of C++20?
9
1
8
GIF
Do modules improve compile time in practice? This is the main reason I stopped using C++ when given a choice.
1
0
1
They should. When used appropriately. But that’s the hard part. Also, retrofitting modules on and existing (larger) codebase is a non-trivial task, to put it mildly 😬
1
0
2
GIF
Right, finding good module boundaries is the hard part, whatever the technology, and safely refactoring to such doubly hard. Definitely interesting for green-field though.
1
0
2
For new projects, definitely worth it. For existing large projects... the jury is still out 🤷‍♂️ My biggest concerns are: conditional compilation, preprocessor directives used and our beloved macros 😁
1
0
1
From all the talks I’ve seen on the subject, the most informative for me was “Modules are coming” - @blelbach from @meetingcpp invidious.snopyta.org/yee9i2rUF3s I recommend it 💯 If anyone has more recommendations on modules, do comment here. Thanks.
1
3
4
I haven’t seen that one. Thanks, @bjorn_fahller ☑️ Added to my watch list.
0
0
1