The dairy cow model ‘Molly’ is a mixed discrete event-continuous system model that simulates feeding, metabolism and lactation of dairy cows. Decades of model development have resulted in a valuable tool in dairy science. Due to the deprecation of the ACSL (Advanced Continuous Simulation Language) programming language, Molly has been translated into C++. This paper describes the translation process and discusses the advantages of the new implementation, one of which is the ability to run Molly within RStudio, a popular integrated development environment (IDE) for data science.