As long as every aspect of the world canโt be simulated reversibly from the bottom up, there will be a need for philosophy.
Philosophy doesnโt provide answers but rather determines what questions can be asked, should be asked, and what you are really asking when you think you are asking something.
There will always be a place for this in any society where the first constraint applies. In other words, science and philosophy are potentially infinite and both necessary.
Note that I said potentiallyโฆ.