Millisecond processing beyond chip technology: From electronics to photonics