SPiCE:一个将Smalltalk程序翻译成C环境的系统

Kazuki Yasumatsu, N. Doi
{"title":"SPiCE:一个将Smalltalk程序翻译成C环境的系统","authors":"Kazuki Yasumatsu, N. Doi","doi":"10.1109/ICCL.1994.288388","DOIUrl":null,"url":null,"abstract":"Smalltalk-80 is very well suited for prototyping of applications, but it is less well suited for delivering applications because applications can neither run in isolation from the Smalltalk environment nor be combined with other programs written in other languages. By translating Smalltalk into C while preserving the semantics of Smalltalk, it is possible to deliver a standalone version of Smalltalk applications, and to develop an application partly in Smalltalk and partly in C. We have implemented SPiCE (Smalltalk-Programs-into-C Environment), which is a system for translating Smalltalk into C. Our approach to the translation is, first, to create the runtime replacement classes which implement the same functionality of the Smalltalk classes that are inherently part of the Smalltalk execution model, and secondly, to provide real-time compacting garbage collection which works without language supports. This paper presents our techniques for the translation and the runtime, and some measures of the performance of the translated C code.<<ETX>>","PeriodicalId":137441,"journal":{"name":"Proceedings of 1994 IEEE International Conference on Computer Languages (ICCL'94)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1994-05-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"34","resultStr":"{\"title\":\"SPiCE: a system for translating Smalltalk programs into a C environment\",\"authors\":\"Kazuki Yasumatsu, N. Doi\",\"doi\":\"10.1109/ICCL.1994.288388\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Smalltalk-80 is very well suited for prototyping of applications, but it is less well suited for delivering applications because applications can neither run in isolation from the Smalltalk environment nor be combined with other programs written in other languages. By translating Smalltalk into C while preserving the semantics of Smalltalk, it is possible to deliver a standalone version of Smalltalk applications, and to develop an application partly in Smalltalk and partly in C. We have implemented SPiCE (Smalltalk-Programs-into-C Environment), which is a system for translating Smalltalk into C. Our approach to the translation is, first, to create the runtime replacement classes which implement the same functionality of the Smalltalk classes that are inherently part of the Smalltalk execution model, and secondly, to provide real-time compacting garbage collection which works without language supports. This paper presents our techniques for the translation and the runtime, and some measures of the performance of the translated C code.<<ETX>>\",\"PeriodicalId\":137441,\"journal\":{\"name\":\"Proceedings of 1994 IEEE International Conference on Computer Languages (ICCL'94)\",\"volume\":\"8 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1994-05-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"34\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of 1994 IEEE International Conference on Computer Languages (ICCL'94)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCL.1994.288388\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of 1994 IEEE International Conference on Computer Languages (ICCL'94)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCL.1994.288388","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 34

摘要

Smalltalk-80非常适合应用程序的原型设计,但它不太适合交付应用程序,因为应用程序既不能独立于Smalltalk环境运行,也不能与用其他语言编写的其他程序结合使用。通过将Smalltalk翻译成C语言,同时保留Smalltalk的语义,可以交付一个独立版本的Smalltalk应用程序,并且可以部分使用Smalltalk和部分使用C语言开发应用程序。我们已经实现了SPiCE (Smalltalk- programs -into-C Environment),这是一个将Smalltalk翻译成C语言的系统。创建运行时替代类,实现Smalltalk类的相同功能,这些类是Smalltalk执行模型固有的一部分,其次,提供实时压缩垃圾收集,无需语言支持即可工作。本文介绍了我们的翻译和运行时技术,以及翻译后的C代码的一些性能度量
本文章由计算机程序翻译,如有差异,请以英文原文为准。
SPiCE: a system for translating Smalltalk programs into a C environment
Smalltalk-80 is very well suited for prototyping of applications, but it is less well suited for delivering applications because applications can neither run in isolation from the Smalltalk environment nor be combined with other programs written in other languages. By translating Smalltalk into C while preserving the semantics of Smalltalk, it is possible to deliver a standalone version of Smalltalk applications, and to develop an application partly in Smalltalk and partly in C. We have implemented SPiCE (Smalltalk-Programs-into-C Environment), which is a system for translating Smalltalk into C. Our approach to the translation is, first, to create the runtime replacement classes which implement the same functionality of the Smalltalk classes that are inherently part of the Smalltalk execution model, and secondly, to provide real-time compacting garbage collection which works without language supports. This paper presents our techniques for the translation and the runtime, and some measures of the performance of the translated C code.<>
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信