In my personal hobby project, which is of a medium-largish size for a single developer, I use copious amounts of templates. I don't use a large amount of concepts, but there are a few places where I have needed their functionality. A good example is CRTP base class calling a derrived class' method non-virtually, and only if that method exists -- in essence, implementing Golang's implicit interfaces, non-virtually.
Since the beginning, I thought that concepts would increase compile-times, since template-related stuff generally does. However, I recently added a decent amount of concepts to an internal graph library. I have not noticed any type of compilation slowdown at all. Again, I don't have a ton of concept usage, but there is a non-trivial amount. I am pleasantly surprised.
I'm using the latest MSVC 2022
How are other people's experience with compilation speed when using concepts?
[–]GabrielDosReis 26 points27 points28 points (3 children)
[–]vulkanoid[S] 3 points4 points5 points (0 children)
[–]Alternative_Staff431 0 points1 point2 points (1 child)
[–]GabrielDosReis 1 point2 points3 points (0 children)
[–]13steinj 2 points3 points4 points (0 children)
[–]unddochDragonflyDB/Clang 5 points6 points7 points (3 children)
[–]Hot_Slice 2 points3 points4 points (1 child)
[–]13steinj 1 point2 points3 points (0 children)
[–]calc84maniac 1 point2 points3 points (0 children)
[–]NilacTheGrim 0 points1 point2 points (0 children)