We survey some recent developments in the direction of the Yau-Tian-Donaldson conjecture, which relates the existence of constant scalar curvature Kähler metrics to the algebro-geometric notion of K-stability. The emphasis is put on the use of pluripotential theory and the interpretation of K-stability in terms of non-Archimedean geometry.