Text this: Photonic devices and algorithms for computing IV :