What can the programming language Rust do for astrophysics?

Author:

Blanco-Cuaresma Sergi,Bolmont EmelineORCID

Abstract

AbstractThe astrophysics community uses different tools for computational tasks such as complex systems simulations, radiative transfer calculations or big data. Programming languages like Fortran, C or C++ are commonly present in these tools and, generally, the language choice was made based on the need for performance. However, this comes at a cost: safety. For instance, a common source of error is the access to invalid memory regions, which produces random execution behaviors and affects the scientific interpretation of the results.In 2015, Mozilla Research released the first stable version of a new programming language named Rust. Many features make this new language attractive for the scientific community, it is open source and it guarantees memory safety while offering zero-cost abstraction.We explore the advantages and drawbacks of Rust for astrophysics by re-implementing the fundamental parts of Mercury-T, a Fortran code that simulates the dynamical and tidal evolution of multi-planet systems.

Publisher

Cambridge University Press (CUP)

Subject

Astronomy and Astrophysics,Space and Planetary Science

Reference5 articles.

1. Anderson B. , Herman D. , Matthews J. , McAllister K. , Goregaokar M. , Moffitt J. , & Sapin S. 2015, arXiv, 1505.07383

2. Rust-Bio: a fast and safe bioinformatics library

3. Poss R. 2014, arXiv, 1407.5670

4. whfast: a fast and unbiased implementation of a symplectic Wisdom–Holman integrator for long-term gravitational simulations

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. The dynamics of co-orbital giant exomoons – applications for the Kepler-1625 b and Kepler-1708 b satellite systems;Monthly Notices of the Royal Astronomical Society;2023-01-27

2. N-Body Performance With a kD-Tree: Comparing Rust to Other Languages;2022 International Conference on Computational Science and Computational Intelligence (CSCI);2022-12

3. On the stability of additional moons orbiting Kepler-1625 b;Monthly Notices of the Royal Astronomical Society;2022-01-05

4. Rust Language for Supercomputing Applications;Communications in Computer and Information Science;2021

5. Enhancing C/C++ based OSS development and discoverability with CBRJS: A Rust/Node.js/WebAssembly framework for repackaging legacy codebases;Journal of Systems and Software;2019-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3