Sciweavers

Share
CGO
2010
IEEE

Dynamic interpretation for dynamic scripting languages

9 years 10 months ago
Dynamic interpretation for dynamic scripting languages
Dynamic scripting languages offer programmers increased flexibility by allowing properties of programs to be defined at run-time. Typically, program execution begins with an interpreter where type checks are implemented using conditional statements. Recent JIT compilers have begun removing run-time checks by specializing native code to program properties discovered at JIT time. This paper presents a novel intermediate representation for scripting languages that explicitly encodes types of variables. The dynamic representation is a flow graph, where each node is a specialized virtual instruction and each edge directs program flow based on control and type changes in the program. The interpreter thus performs specialized execution of whole programs. We present techniques for the efficient interpretation of our representation showing speedups of greater than 2x over static interpretation, with an average
Kevin Williams, Jason McCandless, David Gregg
Added 16 May 2010
Updated 16 May 2010
Type Conference
Year 2010
Where CGO
Authors Kevin Williams, Jason McCandless, David Gregg
Comments (0)
books