@gron

PyPy's Approach to Virtual Machine Construction

, und . OOPSLA'06: Companion to the 21st ACM SIGPLAN conference on Object-oriented programming systems, languages, and applications, Seite 944--953. ACM, (2006)
DOI: 10.1145/1176617.1176753

Zusammenfassung

The PyPy project seeks to prove both on a research and a practical level the feasibility of constructing a virtual machine (VM) for a dynamic language in a dynamic language - in this case, Python. The aim is to translate (i.e. compile) the VM to arbitrary target environments, ranging in level from C/Posix to Smalltalk/Squeak via Java and CLI/.NET, while still being of reasonable efficiency within these environments.A key tool to achieve this goal is the systematic reuse of the Python language as a system programming language at various levels of our architecture and translation process. For each level, we design a corresponding type system and apply a generic type inference engine - for example, the garbage collector is written in a style that manipulates simulated pointer and address objects, and when translated to C these operations become C-level pointer and address instructions.

Beschreibung

PyPy’s Approach to Virtual Machine Construction

Links und Ressourcen

Tags

Community

  • @gron
  • @dblp
@grons Tags hervorgehoben