论文标题

根及以后的C ++模块

C++ Modules in ROOT and Beyond

论文作者

Vassilev, Vassil, Lange, David, Muzaffar, Malik Shahzad, Rodozov, Mircho, Shadura, Oksana, Penev, Alexander

论文摘要

C ++模块有C ++ 20,以解决语言中长期存在的可扩展性问题。它们提供了能够减少构建时间和峰值内存使用量的IO高效,盘列表。 Root在根词典系统中进一步采用C ++模块技术,以提高其性能并减少内存足迹。 与C ++模块的ROOT在过去几年的强化开发之后,在2018年秋季作为技术预览发布。当前状态已准备好生产,但是,仍然有进行性能优化的空间。在本演讲中,我们展示了将技术默认为根的路线图。我们演示了一个全局模块索引优化,该优化允许许多工作流程大大减少内存足迹。我们将报告有关迁移的用户反馈,以使用C ++模块扎根。

C++ Modules come in C++20 to fix the long-standing build scalability problems in the language. They provide an io-efficient, on-disk representation capable to reduce build times and peak memory usage. ROOT employs the C++ modules technology further in the ROOT dictionary system to improve its performance and reduce the memory footprint. ROOT with C++ Modules was released as a technology preview in fall 2018, after intensive development during the last few years. The current state is ready for production, however, there is still room for performance optimizations. In this talk, we show the roadmap for making the technology default in ROOT. We demonstrate a global module indexing optimization which allows reducing the memory footprint dramatically for many workflows. We will report user feedback on the migration to ROOT with C++ Modules.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源