> But for large libraries, taking a source copy is absolutely crazy.
The solution is, when possible, to use (and write) smaller libraries. Many libraries are far larger and more complex than they need to be.
The solution is, when possible, to use (and write) smaller libraries. Many libraries are far larger and more complex than they need to be.
The most egregious example I ever saw was reimplementation of xml parsing with C++ substrings. They “didn’t need” a real xml parser. In the end, they found endless bugs with their shitty parsing logic and it turns it it was responsible for something like 50% of the (very large scale) system resource use.