Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Astrophysics > Instrumentation and Methods for Astrophysics

arXiv:1702.02951 (astro-ph)
[Submitted on 9 Feb 2017]

Title:What can the programming language Rust do for astrophysics?

Authors:Sergi Blanco-Cuaresma, Emeline Bolmont
View a PDF of the paper titled What can the programming language Rust do for astrophysics?, by Sergi Blanco-Cuaresma and Emeline Bolmont
View PDF
Abstract:The 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.
Comments: To appear in the proceedings of the IAU Symposium 325 on Astroinformatics
Subjects: Instrumentation and Methods for Astrophysics (astro-ph.IM); Programming Languages (cs.PL)
Cite as: arXiv:1702.02951 [astro-ph.IM]
  (or arXiv:1702.02951v1 [astro-ph.IM] for this version)
  https://doi.org/10.48550/arXiv.1702.02951
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.1017/S1743921316013168
DOI(s) linking to related resources

Submission history

From: Sergi Blanco-Cuaresma [view email]
[v1] Thu, 9 Feb 2017 19:00:07 UTC (1,178 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled What can the programming language Rust do for astrophysics?, by Sergi Blanco-Cuaresma and Emeline Bolmont
  • View PDF
  • TeX Source
view license

Current browse context:

astro-ph.IM
< prev   |   next >
new | recent | 2017-02
Change to browse by:
astro-ph
cs
cs.PL

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences