Next generation photonic memory devices are 'light-written,' ultrafast and energy efficient
https://phys.org/news/2019-01-photonic-memory-devices-light-written-ultrafast.html
Data are stored in hard drives in the form of 'bits', tiny magnetic domains with a North and a South pole. The direction of these poles ('magnetization'), determines whether the bits contain a digital 0 or a 1. Writing the data is achieved by 'switching' the direction of the magnetization of the associated bits.
Conventionally, the switching occurs when an external magnetic field is applied, which would force the direction of the poles either up (1) or down (0). Alternatively, switching can be achieved via the application of a short (femtosecond) laser pulse, which is called all-optical switching, and results in a more efficient and much faster storage of data.