WEKO3
-
RootNode
アイテム
実用的なRuby用AOTコンパイラ
https://ipsj.ixsq.nii.ac.jp/records/73661
https://ipsj.ixsq.nii.ac.jp/records/736611b767455-ba78-43cc-93f0-d2c4835cad3b
名前 / ファイル | ライセンス | アクション |
---|---|---|
![]() |
Copyright (c) 2011 by the Information Processing Society of Japan
|
|
オープンアクセス |
Item type | Trans(1) | |||||||
---|---|---|---|---|---|---|---|---|
公開日 | 2011-03-16 | |||||||
タイトル | ||||||||
タイトル | 実用的なRuby用AOTコンパイラ | |||||||
タイトル | ||||||||
言語 | en | |||||||
タイトル | A Practical AOT Compiler for Ruby | |||||||
言語 | ||||||||
言語 | jpn | |||||||
キーワード | ||||||||
主題Scheme | Other | |||||||
主題 | 通常論文 | |||||||
資源タイプ | ||||||||
資源タイプ識別子 | http://purl.org/coar/resource_type/c_6501 | |||||||
資源タイプ | journal article | |||||||
著者所属 | ||||||||
東京大学大学院情報理工学系研究科 | ||||||||
著者所属 | ||||||||
東京大学大学院情報理工学系研究科 | ||||||||
著者所属 | ||||||||
株式会社ネットワーク応用通信研究所 | ||||||||
著者所属 | ||||||||
株式会社ネットワーク応用通信研究所 | ||||||||
著者所属 | ||||||||
東京大学大学院情報理工学系研究科 | ||||||||
著者所属 | ||||||||
東京大学大学院情報理工学系研究科 | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Information Science and Technology, The University of Tokyo | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Information Science and Technology, The University of Tokyo | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Network Applied Communication Laboratory, Inc. | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Network Applied Communication Laboratory, Inc. | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Information Science and Technology, The University of Tokyo | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Information Science and Technology, The University of Tokyo | ||||||||
著者名 |
芝, 哲史
笹田, 耕一
卜部, 昌平
松本, 行弘
稲葉, 真理
平木, 敬
× 芝, 哲史 笹田, 耕一 卜部, 昌平 松本, 行弘 稲葉, 真理 平木, 敬
|
|||||||
著者名(英) |
Satoshi, Shiba
Koichi, Sasada
Shohei, Urabe
Yukihiro, Matsumoto
Mary, Inaba
Kei, Hiraki
× Satoshi, Shiba Koichi, Sasada Shohei, Urabe Yukihiro, Matsumoto Mary, Inaba Kei, Hiraki
|
|||||||
論文抄録 | ||||||||
内容記述タイプ | Other | |||||||
内容記述 | 本稿では,Ruby 処理系とほぼ完全な互換性を持つ AOT コンパイラの設計と実装について述べる.Ruby は数多くのライブラリを持ち,数多くの環境をサポートしているプログラミング言語の 1 つである.本研究では,Ruby 処理系との互換性,および可搬性に優れた手法を用いて,既存のすべての Ruby プログラムを,Ruby がサポートするすべての環境で高速化することを目標としている.我々は,この目標を達成するために,Ruby スクリプトをコンパイルしたバイトコード列を C 言語に変換し,Ruby 処理系の仮想マシン (RubyVM) 上で動作させる AOT コンパイラを開発した.開発した AOT コンパイラは,生成する C 言語ソースコードを RubyVM のメソッド呼び出し機構,例外処理機構などを利用して動作させることで,Ruby 処理系との互換性をほぼ完全に保ちながら,Ruby プログラムの実行を高速化する.本稿では開発した AOT コンパイラの設計と実装,開発によって得られた知見について詳しく解説する.そして,開発した AOT コンパイラの機能と性能を評価する. | |||||||
論文抄録(英) | ||||||||
内容記述タイプ | Other | |||||||
内容記述 | In this paper, we will describe the design and the implementation of an AOT compiler which is almost compatible with Ruby Interpreter (CRuby). Ruby is one of the programming languages that has a lot of libraries and has been available for many different computing environments. Our research is aiming at speeding up all existing Ruby programs on all Ruby available computing environments with an approach that takes care of compatibility with CRuby and portability for different computing environments. To achieve this goal, we developed an AOT compiler converts the bytecodes that are compiled from Ruby script to C program. The generated C code runs on the RubyVM (Ruby virtual machine). Using some RubyVM mechanism, such as method invocation and exception handling, the AOT compiler speeds up the execution of Ruby program, while makes the generated C code compatible with CRuby. In this paper, we detail the design, the implementation of the AOT compiler and the acknowledge that we had learned from the development. Moreover, we show the evaluation of the functionality and performance for the AOT compiler. | |||||||
書誌レコードID | ||||||||
収録物識別子タイプ | NCID | |||||||
収録物識別子 | AA11464814 | |||||||
書誌情報 |
情報処理学会論文誌プログラミング(PRO) 巻 4, 号 1, p. 90-108, 発行日 2011-03-16 |
|||||||
ISSN | ||||||||
収録物識別子タイプ | ISSN | |||||||
収録物識別子 | 1882-7802 | |||||||
出版者 | ||||||||
言語 | ja | |||||||
出版者 | 情報処理学会 |