WEKO3
アイテム
Rumpfr: A Fast and Memory Leak-free Rust Binding to the GNU MPFR Library
https://ipsj.ixsq.nii.ac.jp/records/213162
https://ipsj.ixsq.nii.ac.jp/records/2131620ccbd622-22b3-439f-b800-6b575a5e148e
| 名前 / ファイル | ライセンス | アクション |
|---|---|---|
|
|
Copyright (c) 2021 by the Information Processing Society of Japan
|
|
| オープンアクセス | ||
| Item type | Trans(1) | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 公開日 | 2021-09-30 | |||||||||||
| タイトル | ||||||||||||
| タイトル | Rumpfr: A Fast and Memory Leak-free Rust Binding to the GNU MPFR Library | |||||||||||
| タイトル | ||||||||||||
| 言語 | en | |||||||||||
| タイトル | Rumpfr: A Fast and Memory Leak-free Rust Binding to the GNU MPFR Library | |||||||||||
| 言語 | ||||||||||||
| 言語 | eng | |||||||||||
| キーワード | ||||||||||||
| 主題Scheme | Other | |||||||||||
| 主題 | [通常論文] MPFR library, arbitrary-precision arithmetic, Rust bindings | |||||||||||
| 資源タイプ | ||||||||||||
| 資源タイプ識別子 | http://purl.org/coar/resource_type/c_6501 | |||||||||||
| 資源タイプ | journal article | |||||||||||
| 著者所属 | ||||||||||||
| Hiroshima City University | ||||||||||||
| 著者所属 | ||||||||||||
| Hiroshima City University | ||||||||||||
| 著者所属 | ||||||||||||
| Hiroshima City University | ||||||||||||
| 著者所属(英) | ||||||||||||
| en | ||||||||||||
| Hiroshima City University | ||||||||||||
| 著者所属(英) | ||||||||||||
| en | ||||||||||||
| Hiroshima City University | ||||||||||||
| 著者所属(英) | ||||||||||||
| en | ||||||||||||
| Hiroshima City University | ||||||||||||
| 著者名 |
Tomoya, Michinaka
× Tomoya, Michinaka
× Hideyuki, Kawabata
× Tetsuo, Hironaka
|
|||||||||||
| 著者名(英) |
Tomoya, Michinaka
× Tomoya, Michinaka
× Hideyuki, Kawabata
× Tetsuo, Hironaka
|
|||||||||||
| 論文抄録 | ||||||||||||
| 内容記述タイプ | Other | |||||||||||
| 内容記述 | The GNU MPFR library for arbitrary-precision floating-point arithmetic is widely used, and its Foreign Function Interface bindings to various languages have been developed. For the Rust programming language, existing bindings to the MPFR library include gmp-mpfr-sys (a low-level binding) and Rug (a binding that utilizes gmp-mpfr-sys to provide a more user-friendly interface). However, neither has sufficient descriptiveness and performance as bindings for general users of Rust, which is a programming language featuring high memory safety and high speed. We have developed a Rust binding, Rumpfr, to the MPFR library, that offers an easy way to write programs that perform high-speed multiple-precision floating-point computation. Rumpfr provides an interface that follows that of the MPFR library but hides the complexity of managing the mantissa area of floating-point numbers from the user. Rumpfr uses Rust's variable-length arrays to allocate mantissa areas, making it easy to handle without compromising Rust's high memory safety. In this paper, we describe the design and implementation of Rumpfr and present the results of numerical experiments demonstrating that Rumpfr can be used to write programs with low overhead. ------------------------------ This is a preprint of an article intended for publication Journal of Information Processing(JIP). This preprint should not be cited. This article should be cited as: Journal of Information Processing Vol.29(2021) (online) ------------------------------ |
|||||||||||
| 論文抄録(英) | ||||||||||||
| 内容記述タイプ | Other | |||||||||||
| 内容記述 | The GNU MPFR library for arbitrary-precision floating-point arithmetic is widely used, and its Foreign Function Interface bindings to various languages have been developed. For the Rust programming language, existing bindings to the MPFR library include gmp-mpfr-sys (a low-level binding) and Rug (a binding that utilizes gmp-mpfr-sys to provide a more user-friendly interface). However, neither has sufficient descriptiveness and performance as bindings for general users of Rust, which is a programming language featuring high memory safety and high speed. We have developed a Rust binding, Rumpfr, to the MPFR library, that offers an easy way to write programs that perform high-speed multiple-precision floating-point computation. Rumpfr provides an interface that follows that of the MPFR library but hides the complexity of managing the mantissa area of floating-point numbers from the user. Rumpfr uses Rust's variable-length arrays to allocate mantissa areas, making it easy to handle without compromising Rust's high memory safety. In this paper, we describe the design and implementation of Rumpfr and present the results of numerical experiments demonstrating that Rumpfr can be used to write programs with low overhead. ------------------------------ This is a preprint of an article intended for publication Journal of Information Processing(JIP). This preprint should not be cited. This article should be cited as: Journal of Information Processing Vol.29(2021) (online) ------------------------------ |
|||||||||||
| 書誌レコードID | ||||||||||||
| 収録物識別子タイプ | NCID | |||||||||||
| 収録物識別子 | AA11464814 | |||||||||||
| 書誌情報 |
情報処理学会論文誌プログラミング(PRO) 巻 14, 号 4, 発行日 2021-09-30 |
|||||||||||
| ISSN | ||||||||||||
| 収録物識別子タイプ | ISSN | |||||||||||
| 収録物識別子 | 1882-7802 | |||||||||||
| 出版者 | ||||||||||||
| 言語 | ja | |||||||||||
| 出版者 | 情報処理学会 | |||||||||||