Photonic devices and algorithms for computing V | lit.salon