Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Reducing the ecological impact of computing through education and Python compilers

This is a preview of subscription content, access via your institution

Access options

Rent or buy this article

Get just this article for as long as you need it


Prices may be subject to local taxes which are calculated during checkout

Fig. 1: Efficiency in terms of CO2 production and elapsed time for implementations in Python, Julia, C++ and Fortran.


  1. Portegies Zwart, S. Nat. Astron. 4, 819–822 (2020).

    Article  ADS  Google Scholar 

  2. Aycock, J. ACM Comput. Surv. 35, 97–113 (2003).

    Article  Google Scholar 

  3. Harris, C. R. et al. Nature 585, 357–362 (2020).

    Article  ADS  Google Scholar 

  4. Knuth, D. E. ACM Comput. Surv. 6, 261–301 (1974).

    Article  Google Scholar 

  5. Guelton, S. et al. Comput. Sci. Discov. 8, 014001 (2015).

    Article  Google Scholar 

  6. Lam, S. K., Pitrou, A. & Seibert, S. In Proc. Second Workshop on the LLVM Compiler Infrastructure in HPC 7 (ACM, 2015).

  7. Bolz, C. F., Cuni, A., Fijalkowski, M. & Rigo, A. In Proc. 4th Workshop on the Implementation, Compilation, Optimization of Object-Oriented Languages and Programming Systems 18–25 (ACM, 2009).

  8. Augier, P., Mohanan, A. V. & Bonamy, C. J. Open Res. Softw. 7, 9 (2019).

    Article  Google Scholar 

  9. Cheng, L., Ilbeyi, B., Bolz-Tereick, C. F. & Batten, C. In Proc. 18th ACM/IEEE International Symposium on Code Generation and Optimization 16–29 (ACM, 2020).

Download references


We thank D. Barreto, L. Martínez and A. Oskin for working on the optimized Julia implementations. We also thank Camille Noûs (Cogitamus Laboratory) and the open-source communities who contributed to the tools used for this study. Part of this work was performed using resources provided by Grid’5000 (supported by a scientific interest group hosted by Inria and including CNRS, RENATER and several universities) and CINES under GENCI allocation number A0080107567.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Pierre Augier.

Ethics declarations

Competing interests

The authors declare no competing interests.

Rights and permissions

Reprints and Permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Augier, P., Bolz-Tereick, C.F., Guelton, S. et al. Reducing the ecological impact of computing through education and Python compilers. Nat Astron 5, 334–335 (2021).

Download citation

  • Published:

  • Issue Date:

  • DOI:


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing