Computing the x-dependence of parton distribution functions (PDFs) from first principles had been a challenge for many years. Recent theoretical developments have paved the way to perform this computations for the first time using lattice QCD. In this talk I am reviewing these developments. In particular, I will introduce the concepts of quasi-PDFs and pseudo PDFs and discuss their properties. Finally, I will present results from recent calculations and discuss the prospects for the future.