Silicon photonics for high-performance and in-network computing