Ultra-compact and efficient semiconductors for nonlinear optics