Silicon is one of the most pervasive functional materials of the modern age, underpinning semiconductor technologies ranging from microelectronics to solar cells. Indeed, silicon transistors enable computing applications from cell phones to supercomputers, while silicon photovoltaics are the most widely deployed solar-cell technology to date.