Convergence of optics and electronics