arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.03145cs.SE
收藏

通过模块扩展ROOT

Extending ROOT through Modules

Oksana Shadura, Brian Paul Bockelman, Vassil Vassilev

摘要:

ROOT软件框架是HEP生态系统的基础,提供IO、C++解释器、GUI和数学库等功能。它使用面向对象的概念和构建时组件在它们之间分层。我们相信额外的分层形式主义将有利于ROOT及其用户。我们提出了模块化策略的根,其目的是形式化现有的源组件的描述,使依赖关系和其他元数据外部的构建系统,并允许安装后添加的功能在运行时环境。然后,组件可以被分组为包,可从外部存储库安装,以提供缺少包的安装后步骤。这为更广泛的软件生态系统提供了一种与极简安装交互的机制。减少组件内的依赖性可以提高可维护性和代码的整洁性。我们相信,帮助维护尽可能小的“基本安装”将有助于嵌入用例。模块化工作从Java、Python和Swift生态系统中汲取灵感。与现代C++保持一致,这种策略依赖于即将到来的功能,如C++模块。我们希望组件层的形式化将提供更简单的ROOT安装,提高可扩展性,并降低嵌入其他生态系统的复杂性

英文摘要:

The ROOT software framework is foundational for the HEP ecosystem, providing capabilities such as IO, a C++ interpreter, GUI, and math libraries. It uses object-oriented concepts and build-time components to layer between them. We believe additional layering formalisms will benefit ROOT and its users. We present the modularization strategy for ROOT which aims to formalize the description of existing source components, making available the dependencies and other metadata externally from the build system, and allow post-install additions of functionality in the runtime environment. components can then be grouped into packages, installable from external repositories to deliver post-install step of missing packages. This provides a mechanism for the wider software ecosystem to interact with a minimalistic install. Reducing intra-component dependencies improves maintainability and code hygiene. We believe helping maintain the smallest "base install" possible will help embedding use cases. The modularization effort draws inspiration from the Java, Python, and Swift ecosystems. Keeping aligned with the modern C++, this strategy relies on forthcoming features such as C++ modules. We hope formalizing the component layer will provide simpler ROOT installs, improve extensibility, and decrease the complexity of embedding in other ecosystems

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑