Was talking to the Starbucks guy in my local supermarket and he got onto the subject of food waste. Apparently they have guidelines for the value of the food they toss each day: $800 for produce, $400 for other (including meat). Food is tossed for the usual reasons: produce is ugly and not chosen so it spoils, other items pass their sell-by date. According to the guy, who seemed to be knowledgeable, but after all he's just a guy, homeless people from the neighborhood utilize some of the tossed goods, but there was no indication of a food pantry or similar setup.
One can dream of a day where the flow of information from shelves to store to management to customer will be so good that prices can be adjusted to reflect advancing age, hopefully allowing more consumption and less waste. Sometimes I suspect that's already happening with the really perishable produce, like blackberries and raspberries, but maybe not.