The devices can be electronic devices including transistors, and/or photonic devices that convert optical energy into electrical energy including photodiodes, devices that guide light, devices that perform operations on light, and devices that emit light including incoherent sources, such as light-emitting diodes, and coherent sources in the form of lasers.