 Weirich graduated "magna cum laude" in 1996 from Rice University, with a bachelor's degree in computer science.At Rice, she became interested in programming languages through an undergraduate research project with Matthias Felleisen.She moved to Cornell University for her graduate studies, completing her Ph.D. in 2002.