计算机科学 > 分布式、并行与集群计算
[提交于 2025年2月21日]
标题:NPB-Rust: NAS Parallel Benchmarks in Rust
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Parallel programming often requires developers to handle complex computational tasks that can yield many errors in its development cycle. Rust is a performant low-level language that promises memory safety guarantees with its compiler, making it an attractive option for HPC application developers. We identified that the Rust ecosystem could benefit from more comprehensive scientific benchmark suites for standardizing comparisons and research. The NAS Parallel Benchmarks (NPB) is a standardized suite for evaluating various hardware aspects and is often used to compare different frameworks for parallelism. Therefore, our contributions are a Rust version of NPB, an analysis of the expressiveness and performance of the language features, and parallelization strategies. We compare our implementation with consolidated sequential and parallel versions of NPB. Experimental results show that Rust's sequential version is 1.23\% slower than Fortran and 5.59\% faster than C++, while Rust with Rayon was slower than both Fortran and C++ with OpenMP.
提交历史
来自:Dalvan Griebler[v1] 2025年2月21日 星期五 15:39:29 UTC