A double heterostructure laser diode consists of (1) a thin active GaAs layer sandwiched between (2) two AlGaAs confinement layers with a higher bandgap. Carriers and photons are confined to the active layer, reducing the threshold current density for lasing. The active layer provides optical gain while the confinement layers laterally guide photons via their lower refractive index. A stripe contact geometry further reduces threshold current and couples laser emission into optical fibers. Temperature increases the threshold current exponentially and can cause the emission wavelength to hop between longitudinal modes.