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

Study for Optimization of Continuations

Research Project

Project/Area Number 09680333
Research Category

Grant-in-Aid for Scientific Research (C)

Allocation TypeSingle-year Grants
Section一般
Research Field 計算機科学
Research InstitutionKYOTO UNIVERSITY

Principal Investigator

YUASA Taiichi  Kyoto University, Informatics, Professor, 情報学研究科, 教授 (60158326)

Co-Investigator(Kenkyū-buntansha) YASUGI Masahiro  Kyoto University, Informatics, Assistant Professor, 情報学研究科, 講師 (30273759)
KOMIYA Tsuneyasu  Kyoto University, Informatics, Research Associate (80283638)
Project Period (FY) 1997 – 1998
Project Status Completed (Fiscal Year 1998)
Budget Amount *help
¥2,600,000 (Direct Cost: ¥2,600,000)
Fiscal Year 1998: ¥1,100,000 (Direct Cost: ¥1,100,000)
Fiscal Year 1997: ¥1,500,000 (Direct Cost: ¥1,500,000)
KeywordsScheme / continuation / control-flow analysis / abstract interpretation
Research Abstract

While first-class continuations as in the Scheme programming language are powerful, the cost of creating and calling continuations is very high. In order to avoid this problem, we have proposed light-weight continuations called indefinite one-time continuations (or IOCs for short). An IOC can be called at most once but can be called at any time.
If we are sure that a continuation is called at most once during the execution of a program, then by replacing the function "call/cc" which generates a continuation with "call/ioc" which generates an IOC, the performance of the program will be significantly increased. In general, however, it is difficult to determine whether a continuation is called at most once.
In this research, we proposed an algorithm to automatically detect those continuations that can be replaced by IOCs, by analyzing an entire program using a kind of abstract interpretation. Based on this algorithm, we developed a system which detects those "call/cc" calls that can be replaced by "call/ioc" calls. We then analyzed several practical Scheme programs on this system. This algorithm cannot detect all replaceable continuations since the algorithm uses only the information which is statically obtained from a program. However, our experiments showed that most replaceable continuations in practical Scheme programs can be detected by this algorithm.

Report

(3 results)
  • 1998 Annual Research Report   Final Research Report Summary
  • 1997 Annual Research Report
  • Research Products

    (15 results)

All Other

All Publications (15 results)

  • [Publications] T., Komiya: "Indefinite One-time Continuations" Advanced Lisp Technology. 掲載予定. (1999)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1998 Final Research Report Summary
  • [Publications] T., Komiya: "Extended Continuations for Future-based Parallel Scheme Languages" Advanced Lisp Technology. 掲載予定. (1999)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1998 Final Research Report Summary
  • [Publications] T., Komiya: "Automatic Recompilation on Macro Redefinition, by Making Use of Weak Conses" Advanced Lisp Technology. 掲載予定. (1999)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1998 Final Research Report Summary
  • [Publications] 八杉, 昌宏: "動的スコープの利用による並列言語の同期・例外処理の階層的構造化" 情報処理学会論文誌. 40・SIG(PRO3)掲載予定. (1999)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      1998 Final Research Report Summary
  • [Publications] T.Komiya: "Indefinite One-time Continuations" Advanced Lisp Technology. (to appear). (1999)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1998 Final Research Report Summary
  • [Publications] T.Komiya: "Extended Continuations for Future-based Parallel Scheme Languages" Advanced Lisp Technology. (to appear). (1999)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1998 Final Research Report Summary
  • [Publications] T.Komiya: "Automatic Recompilation on Macro Redefinition, by Making Use of Weak Conses" Advanced Lisp Technology. (to appear). (1999)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1998 Final Research Report Summary
  • [Publications] M.Yasugi: "Hierarchically Structured Synchronization and Exception Handling in Parallel Languages using Dynamic Scope" Transactions of IPSJ. Vol.40, No.SIG(PRO3)(to appear). (1999)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      1998 Final Research Report Summary
  • [Publications] T.Komiya: "Indefinite One-time Continuations" Advanced Lisp Technology. (掲載予定). (1999)

    • Related Report
      1998 Annual Research Report
  • [Publications] T.Komiya: "Extended Continuations for Future-based Parallel Scheme Languages" Advanced Lisp Technology. (掲載予定). (1999)

    • Related Report
      1998 Annual Research Report
  • [Publications] T.Komiya: "Automatic Recompilation on Macro Redefinition,by Making Use of Weak Conses" Advanced Lisp Technology. (掲載予定). (1999)

    • Related Report
      1998 Annual Research Report
  • [Publications] 八杉 昌宏: "動的スコープの利用による並列言語の同期・例外処理の階層的構造化" 情報処理学会論文誌. 40・SIG(PR02)(掲載予定). (1999)

    • Related Report
      1998 Annual Research Report
  • [Publications] T.Komiya: "Indefinite One-time Continuations" Advanced Lisp Technology. (掲載予定). (1998)

    • Related Report
      1997 Annual Research Report
  • [Publications] T.Komiya: "Extended Continuations for Future-based Parallel Scheme Languages" Advanced Lisp Technology. (掲載予定). (1998)

    • Related Report
      1997 Annual Research Report
  • [Publications] T.Komiya: "Automatic Recompilation on Macro Redefinition, by Making Use of Weak Conses" Advanced Lisp Technology. (掲載予定). (1998)

    • Related Report
      1997 Annual Research Report

URL: 

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

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi