Saved in:
Bibliographic Details
Main Authors: Stewart, Graeme Andrew, Gras, Philippe, Hegner, Benedikt, Krasnopolski, Atell
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2309.17309
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913344398557184
author Stewart, Graeme Andrew
Gras, Philippe
Hegner, Benedikt
Krasnopolski, Atell
author_facet Stewart, Graeme Andrew
Gras, Philippe
Hegner, Benedikt
Krasnopolski, Atell
contents The evaluation of new computing languages for a large community, like HEP, involves comparison of many aspects of the languages' behaviour, ecosystem and interactions with other languages. In this paper we compare a number of languages using a common, yet non-trivial, HEP algorithm: the \akt\ clustering algorithm used for jet finding. We compare specifically the algorithm implemented in Python (pure Python and accelerated with numpy and numba), and Julia, with respect to the reference implementation in C++, from Fastjet. As well as the speed of the implementation we describe the ergonomics of the language for the coder, as well as the efforts required to achieve the best performance, which can directly impact on code readability and sustainability.
format Preprint
id arxiv_https___arxiv_org_abs_2309_17309
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Polyglot Jet Finding
Stewart, Graeme Andrew
Gras, Philippe
Hegner, Benedikt
Krasnopolski, Atell
High Energy Physics - Experiment
Computational Physics
The evaluation of new computing languages for a large community, like HEP, involves comparison of many aspects of the languages' behaviour, ecosystem and interactions with other languages. In this paper we compare a number of languages using a common, yet non-trivial, HEP algorithm: the \akt\ clustering algorithm used for jet finding. We compare specifically the algorithm implemented in Python (pure Python and accelerated with numpy and numba), and Julia, with respect to the reference implementation in C++, from Fastjet. As well as the speed of the implementation we describe the ergonomics of the language for the coder, as well as the efforts required to achieve the best performance, which can directly impact on code readability and sustainability.
title Polyglot Jet Finding
topic High Energy Physics - Experiment
Computational Physics
url https://arxiv.org/abs/2309.17309