Diamond offers unique material advantages for the realization of micro- and nanomechanical resonators because of its high Young’s modulus, compatibility with harsh environments and superior thermal properties. At the same time, the wide electronic bandgap of 5.45 eV makes diamond a suitable material for integrated optics because of broadband transparency and the absence of free-carrier absorption commonly encountered in silicon photonics.