Compiling the uncompilable: A case for shell script compilation

msra(2008)

引用 23|浏览18
暂无评分
摘要
Abstract Shells, as command interpreters, are the classical way for humans to interact with computing systems, and modern shell features have extended this basic function- ality with higher-level programming,language constructs. Although implementing compilation in these shell languages is generally unprofitable and intractable, many advantages, such as isolation, filesystem abstraction, security, portability, paral- lelization and locality optimization are possible, using standard compilation tech- niques. While compilation is not possible for all scripts, there exist shell scripts of a class that are, in practice, both profitable and tractable to compile and execute. This class of scripts is prevalent in the scientific computing community, where scripts are commonly,used to automate data processing sequences. We describe a prototype shell compilation and implementation for these scripts, noting advantages and chal- lenges, and illustrating the significant performance potential available. Our results show that shell compilation is a viable means of automatically identifying and ex- ploiting high-level program parallelism using existing sequential script specification and without requiring reimplementation. Key words: programming languages, shell languages, domain-specific language,
更多
查看译文
关键词
profitability,domain specific language,programming language,data processing,scientific computing
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要