Just because you noticed "Hey, this unpopular grain grows so easily it's popping up from the sidewalk!" does not mean you can actually then go and scale that to providing food for hundreds of millions of people.
We developed modern agriculture the way we did for a reason. Some of those reasons are no longer valid, true, but a whole lot of them are still very very pertinent.
I think vertical farming / rooftop farms / etc are at this point largely an exercise in virtue signaling more than they are actually improving the food system. They might be improving it for high-income Whole Foods types who are upset Amazon owns their favorite store now (ie: us here on HN) - but those people aren't exactly the ones who need to see improvement.
There are food sources that can be had if they were grown local, and grown in a way that makes sense for that locality. By "local", I mean at the neighborhood, and home level. They can be grown synergistically. Even the old, but simple idea of (thoughtful) companion planting can create better yields than monoculture crops.
Our current food system is optimized towards the kind of scale that allows an easier way to control and meter food resources. VCs chase after multiples on investment, and are not incentivized to truly decentralized food systems.
For others following along, there _are_ already people who have guardens with a synergistic diversity of plants. And not only that, have practices that, over time, create yields that require less time to maintain. The permaculture design community have been exploring and implementing these ideas for over 50 years, and people have gotten them to work. They may not have achieved 100% self-sufficiency, but you would be surprised how much they are able to achieve by synergizing not only plants, but also animals, and human social inclinations into the whole system.
I was happy when parsley sprung up like a weed around my house, but it all died out in the drought. Hopefully it comes back soon.
But in the end you have several tons of concrete covering tens of square metres of ground, to allow one or two square metres of cereal grains to grow. That is not particularly efficient use of time or resources.
Furthermore, there are several techniques to help trap moisture that does not require a concrete lid. I'm in the Phnoenix desert, and I use the trimmings from my zucchinni plant as green mulch. Along with the palm fronds that my neighbors love to trim, they create very effective moisture traps. I need to trim my zucchinnis anyways for their optimal health.
I could also plant things in a way to take advantage of the vertical spaces as well. Okra, for example, thrives in the low desert, and provides dense shade that already traps moisture. If I add something that likes shade, and stays closer to the ground, that forms a kind of living mulch that does not require a lot of ongoing maintenance. And if I plant pole beans to take advantage of the sturdy okra stalks, they fix nitrogen and help keep the soil fertile.
I didn't come up with these ideas. They may not be widely known, but people have come up with these design patterns and used them well.
Purslane (Portulaca oleracea) grows on the sidewalk already, and often next to some wild amaranth (Amarathus Hybridus). What is the point of more efficiently producing specific crops, when there are all these underutilized nutritious plants growing without any human input (or should I say growing despite human input)? This is another problem that I see with the technification of food production in general (including the Green Revolution). Some food wants to be free, but people keep looking for whatever makes the land produce more money in the short term, not what makes it produce more nutrition, etc., because the latter does not adapt so well to the market.