Julia在高能物理中的应用
Julia in HEP
AI总结:
本文探讨了Julia在高能物理中的应用,展示了其在科学计算中的性能优势和广泛适用性。
摘要:
Julia是一种成熟的通用编程语言,拥有庞大的库生态系统和超过12000个第三方包,专门针对科学计算。作为一种语言,Julia与Python结合NumPy一样动态、交互和易于使用,但其运行时性能可与C/C++媲美。在本文中,我们描述了Julia在高能物理(HEP)中的采用情况,多年来势头逐渐增强。面向高能物理的Julia包已经可以通过UnROOT.jl读取高能物理的主要文件格式,包括TTree和RNTuple。通过Geant4.jl等接口,一些主要的高能物理软件包也已可用。Julia中的喷射重建算法表现出出色的性能。一些完整的高能物理分析已在Julia中完成。我们展示了随着高能物理支持的成熟,开发受益于Julia的核心设计选择,这使得从其他包中重用和集成变得容易。特别是,为绘图、统计、拟合和科学机器学习开发的外部高能物理库非常有用。我们认为,灵活与速度的强组合、广泛的科学编程工具选择以及对所有现代编程范式和工具的支持,使Julia成为未来高能物理语言的理想选择。
英文摘要:
Julia is a mature general-purpose programming language, with a large ecosystem of libraries and more than 12000 third-party packages, which specifically targets scientific computing. As a language, Julia is as dynamic, interactive, and accessible as Python with NumPy, but achieves run-time performance on par with C/C++. In this paper, we describe the state of adoption of Julia in HEP, where momentum has been gathering over a number of years. HEP-oriented Julia packages can already, via UnROOT.jl, read HEP's major file formats, including TTree and RNTuple. Interfaces to some of HEP's major software packages, such as through Geant4.jl, are available too. Jet reconstruction algorithms in Julia show excellent performance. A number of full HEP analyses have been performed in Julia. We show how, as the support for HEP has matured, developments have benefited from Julia's core design choices, which makes reuse from and integration with other packages easy. In particular, libraries developed outside HEP for plotting, statistics, fitting, and scientific machine learning are extremely useful. We believe that the powerful combination of flexibility and speed, the wide selection of scientific programming tools, and support for all modern programming paradigms and tools, make Julia the ideal choice for a future language in HEP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。