Author Login Chief Editor Login Reviewer Login Editor Login Remote Office

Computer Engineering ›› 2006, Vol. 32 ›› Issue (3): 94-95.

• Software Technology and Database • Previous Articles     Next Articles

Porting of Perl Extension to JVM

ZHANG Lei, ZHANG Yu, CHEN Yiyun   

  1. Department of Computer Science & Technology, University of Science & Technology of China, Hefei 230027
  • Online:2006-02-05 Published:2006-02-05

Perl 扩展到JVM 的移植

张 磊,张 昱,陈意云   

  1. 中国科学技术大学计算机科学技术系,合肥 230027

Abstract: Perl extension is the interface between Perl and foreign languages. It can be used to handle more complicated problems. This paper introduces the creation of Perl extension at the beginning, and then it anatomizes the dynamic linking technology which Perl interpreter uses and explains how Perl extension works with it in detail. Subsequently, the feasibilities and difficulties of porting Perl to JVM are analyzed. In the end, this paper lays out several porting plans and gives the performance evaluation.

Key words: Perl extension; Porting; Java virtual machine (JVM); Dynamic linking

摘要: Perl 扩展作为Perl 语言与其他语言的接口,使得Perl 能够解决更加复杂的问题。该文从Perl 扩展的创建入手,深入分析了Perl解释器的动态链接技术以及Perl 扩展的工作原理。然后分析了Perl 扩展到Java 虚拟机移植的可行性和难点,最后给出了移植的几个实现方案及其评估。

关键词: Perl 扩展;移植;Java 虚拟机;动态链接