Back to the Future in One Week — Implementing a Smalltalk VM in PyPy

作者: Carl Friedrich Bolz , Adrian Kuhn , Adrian Lienhard , Nicholas D. Matsakis , Oscar Nierstrasz

DOI: 10.1007/978-3-540-89275-5_7

关键词:

摘要: We report on our experiences with the Spy project, including implementation details and benchmark results. is a re-implementation of Squeak (i.e. Smalltalk-80) VM using PyPy toolchain. The project allows code written in RPython, subset Python, to be translated multitude different backends architectures. During translation, many aspects can independently tuned, such as garbage collection algorithm or threading implementation. In this way, whole host interpreters derived from one abstract interpreter definition. aims bring these benefits Squeak, allowing for greater portability and, eventually, improved performance. current codebase able run small set benchmarks that demonstrate performance superior similar Smalltalk VMs, but which still slower than itself. was built scratch over course week during joint Squeak-PyPy Sprint Bern last autumn.

参考文章(8)
Adele Goldberg, David Robson, Smalltalk-80: The Language and its Implementation ,(1983)
John Vlissides, Linda Northrop, Proceedings of the 16th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications conference on object oriented programming systems languages and applications. ,(2001)
Armin Rigo, Samuele Pedroni, PyPy's approach to virtual machine construction conference on object-oriented programming systems, languages, and applications. pp. 944- 953 ,(2006) , 10.1145/1176617.1176753
Alessandro Warth, Ian Piumarta, OMeta: an object-oriented language for pattern matching dynamic languages symposium. pp. 11- 19 ,(2007) , 10.1145/1297081.1297086
D.C. Schmidt, Guest Editor's Introduction: Model-Driven Engineering IEEE Computer. ,vol. 39, pp. 25- 31 ,(2006) , 10.1109/MC.2006.58
Chris Lattner, Vikram Adve, LLVM: a compilation framework for lifelong program analysis & transformation symposium on code generation and optimization. pp. 75- 86 ,(2004) , 10.5555/977395.977673
Dan Ingalls, Ted Kaehler, John Maloney, Scott Wallace, Alan Kay, Back to the future: the story of Squeak, a practical Smalltalk written in itself conference on object-oriented programming systems, languages, and applications. ,vol. 32, pp. 318- 326 ,(1997) , 10.1145/263698.263754