I'm quite not sure how one would go about empirically measuring something like 
that - at least in the general case.  It might be an interesting research 
topic. So no, unfortunately I don't really have hard evidence for this.

I just know that of all the C libraries I've looked at, in my personal 
experience it seems to be a very common phenomenon to copy or reimplement code 
that in Rust you would just import and re-use. 

It's just a pattern that one notices frequently when it comes to C libraries, 
especially crossplatform ones that can't rely exclusively on the existence of a 
Linux-like package manager.

If you want specific examples, the ones that pop to mind are:

* zchunk and deltarpm both reimplement / "bundle" multiple different hashing 
algorithms
* libcomps implements about 4 different relatively common data structures
* GTK appears to contain a bundled, forked copy of the CRoaring library




_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to