A few salient features of the recently derived diffusion‐segregation equation are first discussed. This equation treats the diffusion and segregation processes simultaneously, and is applicable to all cases for which the segregation phenomenon occurs. We then show some examples of using it to simulate the diffusion‐segregation processes in heterostructures, including real and hypothetical cases.