Here is an interesting article
Apparently computer chips that use light instead of electrons can be made. They are larger than conventional chips. The intention seems to be to make very large chips for AI applications.
So, I dont think you will see an optical PC any time soon, but who knows…
I wonder if they would have an advantage in requiring less cooling? Cooling a computer in a hot climate is more expensive than running it.