3 ms·
That's cool I guess. Modules do have partial support in all the major compilers. I'm not sure what that venn diagram looks like. If you wanna argue that module
by forrestthewoods 5y ago
That's cool I guess. Modules do have partial support in all the major compilers. I'm not sure what that venn diagram looks like.
If you wanna argue that modules are ready for primetime and businesses should start converting their codebases to use them then go for it. But it's a pretty obvious fact that almost no one is using modules outside of hobby projects. I don't think I've seen a single significant C++ based project linked on HackerNews that uses modules. I'm sure a few did and I didn't notice.
Header files in C++ are hugely problematic. It's why the module system was designed. That system is not ready to actually be used by the vast majority of C++ programmers on the vast majority of C++ projects. Even if you happen to be using it right now in your hobby projects or even your job.
I hope someday modules are ready and make my life better. It'll be a few years at bare minimum. I'm not fully convinced C++ modules will be standard convention 10 years from now. I think there's a real chance they wither and die on the vine. I hope not! But it's definitely a possibility.
- pjmlp 5y agoJust as much as I would be arguing that Rust is ready for all kinds of C++ workloads.
- deleted 5y ago[deleted]
- forrestthewoods 5y agoWe were discussing a specific claim you made that was unreasonable. No moving the goal posts to unspecific claims that haven’t been made yet!
- pjmlp 5y agoI am not moving goal post at all, you're the one that implying I was arguing about C++ modules being ready for prime time. Well they are as ready for prime time, as Rust is for a large majority of C++ use cases.
- forrestthewoods 5y agoThe goal posts have moved too far for me. Good luck.