abstract: We will review results on effective equidistribution of nilflows from the self-similar (horospherical) case to ''non-renormalizable'' examples related to higher dimensional toral skew-shifts. Effective equidistribution of such flows is related to bounds on Weyl sums in analytic number theory. We will explain how dynamical ideas based on renormalization can recover most of the results on Weyl sums. The analytical tools are based on unitary representation theory for nilpotent Lie groups.