Diffusion into or out of AIIIBV compounds