首页    期刊浏览 2025年05月02日 星期五
登录注册

文章基本信息

  • 标题:C APIs in Extension and Extensible Languages
  • 本地全文:下载
  • 作者:H. Muhammad, R. Ierusalimschy
  • 期刊名称:Journal of Universal Computer Science
  • 印刷版ISSN:0948-6968
  • 出版年度:2007
  • 卷号:13
  • 期号:6
  • 页码:839-839
  • 出版社:Graz University of Technology and Know-Center
  • 摘要:Scripting languages are used in conjuction with C code in two ways: as extension languages, where the interpreter is embedded as a library into an application; or as extensible languages, where the interpreter loads C code as add-on modules. These two scenarios share many similarities, as in both of them two-way communication of code and data needs to take place. However, the differences between them impose design tradeoffs that affect the C API that bridges the two languages, often making a scripting language more suitable for extending than embedding, or vice-versa. This paper discusses how these tradeoffs are handled in the APIs of popular scripting languages, and the impact on their use as embedded or extensible languages.
  • 关键词:application programming interfaces, programming languages
国家哲学社会科学文献中心版权所有