講演抄録/キーワード |
講演名 |
2012-07-28 15:50
Objective-Cによる文脈指向プログラミングの実現手法 ○鈴木将哉・渡部卓雄(東工大) SS2012-32 KBSE2012-34 |
抄録 |
(和) |
文脈指向プログラミング(COP)とは,プログラムの実行文脈に応じて振る舞いが変化するようなプログラムのモジュール性を高める技術である.本研究で我々は,言語の拡張を導入せずにCOPをObjective-Cで実現するための手法を提案する.Objective-Cは実行時にメソッドの書き換えを行うことができる動的なオブジェクトシステムを備えている.我々はこの機構を用いてCOPを実現した.本論文では提案手法によるCOPの実現方式について述べ,実行時オーバーヘッドについての評価結果を示す. |
(英) |
Context-oriented programming(COP) is a programming method that enables us to define behaviors that depend on the program's execution context. We propose an implementation method of COP that does not need language extensions. Objective-C has a dynamic object system in which we can replace arbitorary methods. Harnessing such ability of the language, we construct a mechanism realizing COP. In this paper, we introduce how to construct such mechanism in Objective-C and evaluate the runtime overhead of our implementation. |
キーワード |
(和) |
文脈指向プログラミング / Objective-C / / / / / / |
(英) |
Context-oriented programming / Objective-C / / / / / / |
文献情報 |
信学技報, vol. 112, no. 164, SS2012-32, pp. 133-138, 2012年7月. |
資料番号 |
SS2012-32 |
発行日 |
2012-07-20 (SS, KBSE) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
SS2012-32 KBSE2012-34 |