Text this: Large-scale programmable silicon photonics for quantum and classical machine learning