Sciweavers

PLDI
2010
ACM

An analysis of the dynamic behavior of JavaScript programs

13 years 9 months ago
An analysis of the dynamic behavior of JavaScript programs
The JavaScript programming language is widely used for web programming and, increasingly, for general purpose computing. As such, improving the correctness, security and performance of JavaScript applications has been the driving force for research in type systems, static analysis and compiler techniques for this language. Many of these techniques aim to reign in some of the most dynamic features of the language, yet little seems to be known about how programmers actually utilize the language or these features. In this paper we perform an empirical study of the dynamic behavior of a corpus of widely-used JavaScript programs, and analyze how and why the dynamic features are used. We report on the degree of dynamism that is exhibited by these JavaScript programs and compare that with assumptions commonly made in the literature and accepted industry benchmark suites. Categories and Subject Descriptors D.2.8 [Software Engineering]: Metrics; D.3.3 [Programming Languages]: Language Construc...
Gregor Richards, Sylvain Lebresne, Brian Burg, Jan
Added 10 Jul 2010
Updated 10 Jul 2010
Type Conference
Year 2010
Where PLDI
Authors Gregor Richards, Sylvain Lebresne, Brian Burg, Jan Vitek
Comments (0)