Skip to content

Opening book details…

Can I read Finding broken promises in asynchronous JavaScript programs on EtoBox?

Finding broken promises in asynchronous JavaScript programs by Saba Alimadadi, Di Zhong, Magnus Madsen, and Frank Tip is a Computer Science article available to read on EtoBox.

What is Finding broken promises in asynchronous JavaScript programs about?

Recently, promises were added to ECMAScript 6, the JavaScript standard, in order to provide better support for the asynchrony that arises in user interfaces, network communication, and non-blocking I/O. Using promises, programmers can avoid common pitfalls of event-driven programming such as event races and the deeply nested counterintuitive control ow referred to as “callback hell”. Unfortunately, promises have complex semantics and the intricate control– and data- ow present in promise-based code hinders program comprehension and can easily lead to bugs. The promise graph was proposed as a graphical aid for understanding and debugging promise-based code. However, it did not cover all promise-related features in ECMAScript 6, and did not present or evaluate any technique for constructing the promise graphs. In this paper, we extend the notion of promise graphs to include all promise-related features in ECMAScript 6, including default reactions, exceptions, and the synchronization operations race and all. Furthermore, we report on the construction and evaluation of PromiseKeeper, which performs a dynamic analysis to create promise graphs and infer common promise anti-patterns. We e

Who reads Finding broken promises in asynchronous JavaScript programs?

It is typically read by researchers, students, and practitioners in Computer Science.

Author
Saba Alimadadi, Di Zhong, Magnus Madsen, and Frank Tip
Publisher
ACM
Published
2018
Language
EN
Field
Computer Science (Physical Sciences)

More by Saba Alimadadi, Di Zhong, Magnus Madsen, and Frank Tip

Browse all works by Saba Alimadadi, Di Zhong, Magnus Madsen, and Frank Tip