how big is the problem?

Modern operating systems (mostly POSIXish FOSS ones, by virtue of these being the most common and the ones I use) have a problem. I’m not sure what the correct word for this problem is, and it's not a problem that causes issues for users but rather a problem that causes missed oppotunities. The problem is that Operating Systems miss out on useful optimization potential of many kinds because useful dependency and resource information provided by compilers, build systems, and package managers is not shared with one other or with other parts of the system. I’m going to describe where I orginally thought the problem started and ended, and how it ended up being much more expansive than I originally thought, as well as some specific examples of interesting opportunities for optimisation of all kinds (actual program optimisation, saving disk space, easier software development, transparent system management, better scheduling) that allowing for communication between system components creates.