Published September 8, 2025 | Version v1
Presentation Open

Static compilation of Julia packages for integration with exisitng HEP codebases: a case study with JetReconstruction.jl

  • 1. CERN

Description

The Julia programming language is considered a strong contender as a future language for high-energy physics (HEP) computing. However, transitioning to the Julia ecosystem will be a long process and interoperability between Julia and C++ is required. So far several successful attempts have been made to wrap HEP C++ packages for use in Julia. It is also important to explore the reverse direction, allowing Julia code to be called from existing HEP codebases, written primarily in C++ and Python, which would significantly improve potential adoption of Julia code. With recent developments in Julia enabling it to produce statically compiled code, this approach is becoming increasingly feasible, and investigating this potential for the benefit of HEP community is the focus of this work.

This work presents a case study of statically compiling the JetReconstruction.jl package - a highly performant, native Julia implementation of sequential jet reconstruction algorithms. Two different backends for Julia code compilation are compared: the existing PackageCompiler.jl and the new static compilation feature of Julia language, which is one of the major improvements in the upcoming Julia 1.12 release. The performance of the statically compiled JetReconstruction.jl is compared with both native Julia code and C++ FastJet.

Files

2025-09-08_acat2025_static-compilation-julia_fila.pdf

Files (858.1 kB)

Additional details

Funding

Schmidt Family Foundation

Conference

Acronym
ACAT2025
Dates
8-12 September 2025