On 5 July, Ukraine-born Maryna Viazovska became only the second woman in its 86-year history to be awarded the Fields Medal, often described as the Nobel Prize of mathematics. Here, she talks to Science|Business about her career and her views on how to keep Ukrainian science going as Russia continues to wage war on her native country.