I will review some recent developments in the analytic calculation of massive Feynman diagrams, that involve elliptic integrals. I will discuss applications to NNLO QCD corrections to observables related to top and Higgs production at hadron colliders.