CV

Summary

Senior Scientific Software Engineer at A2-Ai. PhD in Veterinary Epidemiology and MSc in Statistics from the University of Copenhagen, with additional undergraduate degrees in Mathematics (statistics major) and Science & IT (computational physics). Over a decade of experience spanning statistical modelling, scientific computing, academic research, teaching, and software development. Core maintainer of extendr and active open-source contributor in the Rust and R ecosystems. Published in journals including the Journal of Theoretical Biology, JOSS, and Preventive Veterinary Medicine, and presented at international conferences in veterinary epidemiology, spatial modelling, and scientific computing.

Highlights

  • Build and maintain R and Rust tooling that needs to be fast, reliable, and ready for real use
  • Bring a deep foundation in mathematics, probability theory, and statistics, from measure theory and stochastic processes to Bayesian inference and causal reasoning
  • Turn research questions into statistical models and then into maintainable software
  • Develop disease-spread models across wildlife and livestock populations, with work on spatial discretisation, surveillance, and control strategies
  • Work effectively across institutions, disciplines, and international collaborations
  • Teach and communicate effectively across researchers, developers, and students, from university courses to international conference talks

Education

PhD in Veterinary Epidemiology

University of Copenhagen · 2019–2024
  • Modelled the spread of African Swine Fever between wild boar and domestic pigs
  • Worked on simulator-based inference, ordinary differential equations, and wildlife-livestock interface problems
  • Relevant coursework included epidemiology, spatial data analysis, network analysis, and targeted maximum likelihood estimation

MSc in Statistics

University of Copenhagen · 2016–2018

BSc in Mathematics

University of Copenhagen · 2013–2015

Statistics as study major.

BSc in Science and IT

University of Copenhagen · 2010–2013

Specialisation in computational physics.

Experience

Senior Scientific Software Engineer

A2-Ai · 2025–Present
  • Build scientific software and technical workflows in domains where modelling, data, and product constraints meet
  • Work across implementation, design, and collaboration boundaries to turn prototype code into maintainable systems

Postdoctoral Researcher

University of Copenhagen · 2024–2025
  • Specialised in computational modelling of disease spread, surveillance, and control in an economic context
  • Developed modelling software and R packages for applied epidemiological research

External Lecturer

DIS Study Abroad · Copenhagen · Spring 2025
  • Taught “Artificial Neural Networks and Deep Learning”

Research Assistant

University of Copenhagen · 2021–2022
  • Worked on the NordForsk-funded DigiVet project on facilitating registry data between authorities, stakeholders, and citizens
  • Coordinated data requirements across multiple stakeholders and improved data quality in research workflows

Lecturer / Researcher

Applied Science University of Amsterdam · 2018–2019
  • Conducted research in the Live Game Design project in collaboration with Knowingo+
  • Modelled player experience using statistical methods and visualisation

Student Developer

Inference Labs · 2016–2017
  • Developed a serious game in Unity3D and C# for teaching the PRINCE2 project-management methodology

Data Scientist

SHFT ApS · 2015–2016
  • Transformed inertial motion sensor data into KPIs describing running technique
  • Worked with MATLAB, signal processing, sensor fusion, visualisation, and C# / Xamarin

Teaching Assistant

University of Copenhagen · 2011–2018
  • Held TA roles across a seven-year span (2011–2018), totalling roughly two years of cumulative teaching alongside studies and other work
  • Taught across databases and web programming, programming and problem solving, data mining, statistics, numerical analysis, and modelling
  • Supported both undergraduate and graduate teaching, including theoretical statistics

Participant, Kod i Ferien

Danish Agency for Digitisation · 2011–2012
  • Participated twice in Kod i Ferien, a Danish programme comparable to Google Summer of Code
  • Planned and implemented a web-backend product using Django and NemHandel
  • Worked with open-government initiatives through digitaliser.dk

Student Worker

Danish Science Factory · 2010–2013
  • Planned and executed meetings, conferences, and related events
  • Handled database entry and administrative support tasks

Sales Assistant

Netto / Dansk Supermarked · 2010

Publications

Peer-reviewed

Preprints and submitted

  • Assessing the Spatial and Temporal Risk of HPAIV Transmission to Danish Cattle via Wild Birds (2025). arXiv:2504.12432
  • Spatial discretisation and anonymisation in R using CORINE land cover data and the hexscape package, with Matt Denwood, Mossa Merhi Reimert, Carlijn Bogaardt, Maya Katrin Gussmann, Carsten Thure Kirkeby and Jess Enright. Submitted to Preventive Veterinary Medicine.

In preparation

  • Habitat-centric clustering of wildlife populations: methods and implications for the population dynamics of wild boar, with Mossa Merhi Reimert, Maya Katrin Gussmann, Anette Ella Boklund, Philip Rasmussen and Matt Denwood. In preparation for Ecological Modelling.

Research Software

extendr

github.com/extendr/extendr · Core maintainer · 2020–Present

Frictionless bindings between R and Rust. Core maintainer of the project and the wider tooling around the R-Rust bridge. Published in JOSS (doi:10.21105/joss.06394) and supported by an R Consortium ISC grant for modern OOP tooling.

miniextendr

github.com/cgmossa/miniextendr · Author · 2024–Present

A Rust-R interoperability framework for building R packages with Rust backends. Includes ExternalPtr wrappers, ALTREP support, and CRAN-ready packaging.

hexscape

R package · Co-author

Spatial discretisation and anonymisation in R using CORINE land cover data. Companion to the submitted Preventive Veterinary Medicine manuscript.

Grants

  • Accepted by the R Consortium Infrastructure Steering Committee (ISC) for “extendr: Modern OOP tools” (2025), covering the vctrs/S3 Support and S7 Support milestones

Teaching Portfolio

External Lecturer, Artificial Neural Networks and Deep Learning

DIS Study Abroad · Copenhagen · Spring 2025
  • Designed and delivered an upper-division course on artificial neural networks and deep learning for visiting international students
  • Covered foundations through modern architectures, with hands-on implementation work alongside the theoretical material

Teaching Assistant

University of Copenhagen · 2011–2018

Taught and supported a broad range of undergraduate and graduate courses in the Department of Mathematical Sciences and the Department of Computer Science, including:

  • Databases and web programming
  • Programming and problem solving
  • Data mining
  • Statistics 1 and 2 (theoretical statistics)
  • Numerical analysis
  • Modelling in science

Responsibilities spanned exercise sessions, problem-set design, grading, and one-on-one student support. Roughly two years of cumulative TA work spread across a seven-year span (2011–2018), held alongside studies and other roles.

Conferences

Typst Meetup Berlin 2026

Typst · Berlin · 28 February 2026 · 14:30 CET

Attended.

Cascadia R Conf 2025

cascadiarconf.org · Portland, OR · 20 June 2025

Co-authored workshop material with Josiah Parry for two workshops: “Intro to Rust for R Developers” and “Building Rust based R Packages” using extendr.

Scientific Computing in Rust 2024

scientificcomputing.rs · 18 July 2024 · Online

Talk: “extendr: Frictionless bindings for R and Rust.” Live and online presentation (10 min). Hosted by organisers from University College London (UK) and University of Colorado Boulder (USA).

GeoVet 2023

Silvi Marina, Teramo, Italy · 20 September 2023

Senior oral presentation (20 min + 5 min discussion): “Choice of Landscape Discretisation Affects the Rate of Spread in Wildlife Disease Models.” International Conference of Spatial Epidemiology, Geostatistics and GIS applied to animal health, public health, and food safety.

ISVEE 16

Halifax, Canada · 7–12 August 2022

Oral presentation: “An ecological process-based model of wild boar.” 16th International Symposium of Veterinary Epidemiology and Economics.

ModAH 2021

INRAE, Nantes, France · 2 July 2021 · Online

Talk: “Influence of ecological processes within disease models.” Live presentation (webinar). Modelling in Animal Health conference.

Det 41. symposium i anvendt statistik

University of Copenhagen · 28–30 January 2019

Attended. statistiksymposium.dk

SAFJR 2019

2019

Attended.

External Roles

Awards

  • Member of the winning team at Aarhus’ COVID-19 Datathon (2021), a weekend-long data-analysis challenge hosted jointly by MIT, Imperial College London, and Aarhus University

Skills

RRustForeign Function Interface (FFI)Git & GitHub ActionsMATLABPythonPyTorchC#C / C++BashTypstStatistical modellingScientific computingTechnical teaching

Coursework

MSc in Statistics (2016–2018)

Show courses
  • Discrete Models
  • Regression
  • Project in Statistics
  • Advanced Probability Theory 1
  • Advanced Probability Theory 2
  • Bayesian Statistics
  • Causality
  • Computational Statistics
  • Monte Carlo Methods in Insurance and Finance
  • Sparse Learning

BSc in Mathematics (2013–2015)

Show courses
  • Discrete Mathematics
  • Probability Theory and Statistics
  • Algebra 1
  • Geometry 1
  • Analysis 2
  • Measures and Integrals
  • Statistics 1
  • Statistics 2
  • Stochastic Processes
  • Graphical Models

BSc in Science & IT (2010–2013)

Show courses
  • Introduction to Mathematics for Science
  • Modelling in Science
  • Linear Algebra in Science
  • Programming and Problem Solving
  • Analysis 0
  • Algorithms and Data Structures
  • Databases and Data Mining
  • Statistical Models in Science
  • Introduction to Numerical Analysis
  • Numerical Solution of Differential Equations: Finite Difference Methods
  • Project Course: Science and IT
  • Philosophy of Computer Science
  • Electrodynamics and Waves
  • Quantum Mechanics 1
  • Introduction to Mechanics and Relativity Theory
  • Classical Mechanics
  • Thermodynamics and Project
  • Electromagnetism
  • Analytical Mechanics and Chaos
  • Analysis 1
  • Mathematics for Physicists

Online Learning

  • Completed 110 DataCamp courses, 9 tracks, and 37 projects across R, SQL, machine learning, and statistics (portfolio)
  • Completed the Exercism Rust track with 83 problems and iterative review-driven refinement (profile)

Personal

  • Father of two
  • Avid collector of custom mechanical keyboards