• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to previous page

安全で高速な共通計算基盤のための低水準の型付中間言語

Research Project

Project/Area Number 20650004
Research Category

Grant-in-Aid for Challenging Exploratory Research

Allocation TypeSingle-year Grants
Research Field Software
Research InstitutionKyoto University

Principal Investigator

八杉 昌宏  京都大学, 情報学研究科, 准教授 (30273759)

Project Period (FY) 2008 – 2010
Project Status Completed (Fiscal Year 2010)
Budget Amount *help
¥3,200,000 (Direct Cost: ¥3,200,000)
Fiscal Year 2010: ¥1,000,000 (Direct Cost: ¥1,000,000)
Fiscal Year 2009: ¥1,100,000 (Direct Cost: ¥1,100,000)
Fiscal Year 2008: ¥1,100,000 (Direct Cost: ¥1,100,000)
Keywords型付中間言語 / コンパイラ / 言語処理系 / ごみ集め / 型安全性 / 高水準言語 / プログラミング言語
Research Abstract

Java仮想機械語(JVML)に代表される既存の型付仮想機械語(中間言語)は、実行前型検査と自動メモリ管理(ごみ集め、GC)によりそのプログラムを安全に実行できるが、型システムが特定のオブジェクト指向言語にほぼ対応している点を含め汎用性は高くない。本研究は、仮想機械のRISC化を目標に、安全性を維持しつつ汎用性と高速性を持つ型付中間言語(以降、この言語を"MIL"と呼ぶ)を設計しようとするものである。低水準中間言語の既存研究が深く取り組んでいない正確なGCのためのトレーサビリティ保証にも型システムを用いる。
型付中間言語MILの言語仕様の設計においては、MILの役割と型システムを強く意識した上でシンタックス、セマンティクスの設計を行う。MILの役割としては、汎用性の高さ、高性能、処理系として正確なごみ集め、真の末尾再帰のサポートがある。平成22年度は、主に以下の点について研究を進めた。
1. MIL言語ファミリーの位置づけ
型付き中間言語MIL以外に、型なしのMIL(U)、コンパイル先となる型付き低水準言語LL-MIL、その型なしのLL-MIL(U)を考え、セマンティクスは主にMIL(U)で、実装者が想定する実行環境はLL-MIL(U)でと役割をはっきりさせた。
2. 依存型の型システムの設計
fixnumなどのためのビットレベル表現の考慮については大きく前進し、成果発表を行った。鍵となったのは、「場合依存型」の発見、2分決定木(BDD)の利用、ビットレベル表現のための述語encodeの発見であった。また、循環したオブジェクトの初期化が扱える型システムについても進展があった。
3. 正確なGCのサポート
静的型情報だけから参照を見つけるようなコレクタ用のコードをいかにして自動で生成するかが挑戦的な点であり、解決には至っていないが課題の整理を行った。

Report

(3 results)
  • 2010 Annual Research Report
  • 2009 Annual Research Report
  • 2008 Annual Research Report
  • Research Products

    (6 results)

All 2010 2008

All Journal Article (1 results) (of which Peer Reviewed: 1 results) Presentation (5 results)

  • [Journal Article] L-Closureを用いた真に末尾再帰的なSchemeインタプリタ2010

    • Author(s)
      八杉昌宏, 小島啓史, 小宮常康, 平石拓, 馬谷誠二, 湯淺太一
    • Journal Title

      情報処理学会論文誌 プログラミング

      Volume: Vol.3, No.5 Pages: 1-17

    • NAID

      110007970943

    • Related Report
      2010 Annual Research Report
    • Peer Reviewed
  • [Presentation] Managing Continuations for Proper Tail Recursion2010

    • Author(s)
      Masahiro Yasugi, Tsuneyasu Komiya, Tasuku Hiraishi, Seiji Umatani
    • Organizer
      2010 International Lisp Conference (ILC 2010)
    • Place of Presentation
      米国ネバダ州リノ市John Ascuaga's Nugget
    • Year and Date
      2010-10-21
    • Related Report
      2010 Annual Research Report
  • [Presentation] Validating Low-level Instructions for Fixnums using BDDs2010

    • Author(s)
      Shingo Yuasa, Masahiro Yasugi
    • Organizer
      2010 International Lisp Conference (ILC 2010)
    • Place of Presentation
      米国ネバダ州リノ市John Ascuaga's Nugget
    • Year and Date
      2010-10-19
    • Related Report
      2010 Annual Research Report
  • [Presentation] ビットレベル表現をサポートする低水準言語におけるBDDを利用したプログラム検証に向けて2010

    • Author(s)
      八杉昌宏
    • Organizer
      日本ソフトウェア科学会第27回大会
    • Place of Presentation
      津田塾大学
    • Year and Date
      2010-09-13
    • Related Report
      2010 Annual Research Report
  • [Presentation] 安全で高速な共通計算基盤のための低水準の型付中間言語の検討2010

    • Author(s)
      八杉昌宏
    • Organizer
      第12回プログラミングおよびプログラミング言語ワークショップ (PPL2010) カテゴリ3
    • Place of Presentation
      香川県琴平町
    • Year and Date
      2010-03-03
    • Related Report
      2009 Annual Research Report
  • [Presentation] Towards a Low-Level Typed Intermediate Language for Implementing Safe, High-Performance Programming Languages2008

    • Author(s)
      Masahiro Yasugi
    • Organizer
      Proceedings of Workshop on Software Science and Technology in China and Japan
    • Place of Presentation
      GuiLin, China
    • Year and Date
      2008-09-15
    • Related Report
      2008 Annual Research Report

URL: 

Published: 2008-04-01   Modified: 2016-04-21  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi