Now, performing computational logic with light