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

使用 Rust 开发具有 Java 和 Python 绑定的高性能过程挖掘库

Developing a High-Performance Process Mining Library with Java and Python Bindings in Rust

Aaron Küsters, Wil M. P. van der Aalst

AI总结:

本文提出用 Rust 构建共享过程挖掘库,并提供 Java 与 Python 绑定,以在保证内存安全的同时获得高性能并融入 ProM、PM4Py 生态。

摘要:

当今最常用的开源过程挖掘软件工具是 ProM 和 PM4Py,它们分别用 Java 和 Python 编写。这类高级且通常为解释型的编程语言在性能、内存安全和易用性之间进行了权衡。相比之下,C 或 C++ 等传统编译型语言可以实现顶级性能,但往往因不安全的内存管理而存在不稳定性。最近,Rust 作为一种高性能的编译型编程语言出现,并具有内在的内存安全性。本文描述了我们使用 Rust 开发共享过程挖掘库的方法,该库同时提供 Java 和 Python 绑定,能够完全集成到 ProM 和 PM4Py 等现有生态系统中。通过促进互操作性,我们的方法使研究人员或工业界能够用 Rust 一次性开发新算法,并将其提供给整个社区,同时实现卓越性能。

英文摘要:

The most commonly used open-source process mining software tools today are ProM and PM4Py, written in Java and Python, respectively. Such high-level, often interpreted, programming languages trade off performance with memory safety and ease-of-use. In contrast, traditional compiled languages, like C or C++, can achieve top performance but often suffer from instability related to unsafe memory management. Lately, Rust emerged as a highly performant, compiled programming language with inherent memory safety. In this paper, we describe our approach to developing a shared process mining library in Rust with bindings to both Java and Python, allowing full integration into the existing ecosystems, like ProM and PM4Py. By facilitating interoperability, our methodology enables researchers or industry to develop novel algorithms in Rust once and make them accessible to the entire community while also achieving superior performance.

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

↑