Semiconductor chips that process light rather than electricity could boost processing speeds and reduce energy use.