Let’s hope that technology improves a lot enough to make sure agriculture can grow vertical farming to a whole new level. They are building that system a lot in Japan because they do not have too much space and with all the money they make from the tech improvements and sales they make, they probably spend a ton of it on the food export market because they need to get a lot of stuff, they are lucky china is nearby and would sell for cheap but I am not sure what their relationship is like nowadays.
Agricultural technology we use today is highly advanced to the point that we can create artificial crops which we can mutate for more nutrients. But still organic nutrients are way cheaper, this is the number one enemy of having a technology the cost of it is too much for anyone to handle.
So, if there is a method where vertical farming could make enough food for a whole town inside one building, we could have those in the middle of every town so that we could dish out food to everyone who wants it, end of the starvation problem basically.
You can't end starvation and hunger, it has been the very problem since the beginning though we got enough of a food supply anyone cannot still just have it without the power of money. However, I don't see that famine is on the way after all these disasters that we are experiencing.