Direct Impact

Concepts for which they have direct influence:

javascript compilers
web ides
languages stopify
program execution
trivial compiler
browser tab
first-class continuations

External impact

Concepts related to the work of other authors :

interactive programming
tail calls
efficient compilation
conventional operating systems
web applications
generator chains
benchmark programs

Putting in all the stops: execution control for JavaScript

Abstract

Scores of compilers produce JavaScript, enabling programmers to use many languages on the Web, reuse existing code, and even use Web IDEs. Unfortunately, most compilers inherit the browser's compromised execution model, so long-running programs freeze the browser tab, infinite loops crash IDEs, and so on. The few compilers that avoid these problems suffer poor performance and are difficult to engineer. This paper presents Stopify, a source-to-source compiler that extends JavaScript with debugging abstractions and blocking operations, and easily integrates with existing compilers. We apply Stopify to ten programming languages and develop a Web IDE that supports stopping, single-stepping, breakpointing, and long-running computations. For nine languages, Stopify requires no or trivial compiler changes. For eight, our IDE is the first that provides these features. Two of our subject languages have compilers with similar features. Stopify's performance is competitive with these compilers and it makes them dramatically simpler. Stopify's abstractions rely on first-class continuations, which it provides by compiling JavaScript to JavaScript. We also identify sub-languages of JavaScript that compilers implicitly use, and exploit these to improve performance. Finally, Stopify needs to repeatedly interrupt and resume program execution. We use a sampling-based technique to estimate program speed that outperforms other systems.


https://www.g2.com/products/key-opinion-leaders-kols/reviews https://www.bbb.org/us/fl/doral/profile/data-analytics/key-opinion-leaders-0633-92023858 https://www.trustpilot.com/review/keyopinionleaders.com https://www.yelp.com/biz/key-opinion-leaders-miami


© 2022 - Key Opinion Leaders -
Key Opinion Leaders, LLC ,
2025 NW 102 Avenue, Suite 111 Doral , FL   33172