Could you give some details? Claims about "forever" often don't hold up. I guess you're referring to things like component size in relation to the wavelength of light used? One could use smaller wavelengths. Integrated photonics is certainly being done and also commercially relevant (in telecommunications). What integration density would you consider not-abysmal? How much does integration density matter if you have very low loss (which means low power dissipation, a huge problem for semiconductor electronics) and can just make big chips?
There is also research arguing that optoelectronics might eventually be very useful for computing, e.g. recently [1]. (Yes, this is by researchers who need to appear relevant. However, if we dismiss their arguments based on that alone, we can abolish all research altogether.) Why do you disagree? Again, you were talking about forever.