| ▲ | simonask 2 hours ago | ||||||||||||||||||||||||||||||||||||||||
I'm sure you can see how that doesn't scale without significant effort. Stuff like this is why dependency management in large C++ projects is extremely draining. And if you don't get it right, boom, ODR violation = UB. The end result is that many C++ projects spend a huge amount of time whenever a dependency is added or updated, so they tend to avoid it and lag behind, leaving performance and bugfixes on the table. Meanwhile, Cargo even supports linking multiple versions of the same dependency without issue in the same binary. It is lightyears ahead. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | mort96 2 hours ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
Sure, it doesn't scale to your typical node.js project with thousands of dependencies. That's a good thing. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||