按年被提到
20212021 · 3 次2026
编程语言与编译器›编译器与运行时优化·arXiv:2107.11912 · cs.PL

Performance vs Programming Effort between Rust and C on Multicore Architectures: Case Study in N-Body

Manuel Costanzo, Enzo Rucci, Marcelo Naiouf, Armando De Giusti · 2021
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 3 人首次 2021-07-27 · 最近 2021-08-02
3不同的人
2活跃月份
3讨论串
22被引(OpenAlex)
arXiv 摘要(候选层不写导读)

Historically, Fortran and C have been the default programming languages in High-Performance Computing (HPC). In both, programmers have primitives and functions available that allow manipulating system memory and interacting directly with the underlying hardware, resulting in efficient code in both response times and resource use. On the other hand, it is a real challenge to generate code that is maintainable and scalable over time in these types of languages. In 2010, Rust emerged as a new programming language designed for concurrent and secure applications, which adopts features of procedural, object-oriented and functional languages. Among its design principles, Rust is aimed at matching C in terms of efficiency, but with increased code security and productivity. This paper presents a comparative study between C and Rust in terms of performance and programming effort, selecting as a case study the simulation of N computational bodies (N-Body), a popular problem in the HPC community. Based on the experimental work, it was possible to establish that Rust is a language that reduces programming effort while maintaining acceptable performance levels, meaning that it is a possible alternative to C for HPC.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

没有评论直接链到它;下面是它被提交的讨论串里回复最多的评论(不计入统计)

讨论串里没有 ≥100 字的评论,只有提交记录。

被提交为 story · 3 次