One of the important developments arising from the geometric approach to mechanics is the incorporation of the geometry into numerical methods. In particular symplectic and variational integrators are proving particularly accurate for long-term integration of Hamiltonian and Lagrangian systems.