• Cite Icon24
  • https://doi.org/10.1145/3133841.3133846Copy DOI Icon

Semantics of asynchronous JavaScript

  • Oct 24, 2017
  • Matthew C Loring +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

JavaScript code running in the Node.js runtime is a major platform for developers building cloud, mobile, or IoT applications. A fundamental concept in Node.js programming is the use of asynchronous callbacks and event loops to provide highly responsive applications. While conceptually simple, this programming model contains numerous subtleties and behaviors that are defined implicitly by the current Node.js implementation. This paper presents the first comprehensive formalization of the Node.js asynchronous execution model and defines a high-level notion of async-contexts to formalize fundamental relationships between asynchronous executions in an application. These formalizations provide a foundation for the construction of static or dynamic program analysis tools, support the exploration of alternative Node.js event loop implementations, and provide a high-level conceptual framework for reasoning about relationships between the execution of asynchronous callbacks in a Node.js application.

Similar Papers
  • Research Article
  • Citations7

Advanced strategies for achieving comprehensive code quality and ensuring software reliability

  • Aug 03, 2024
  • Computer Science & IT Research Journal
  • Nnaemeka Valentine Eziamaka +2
  • Book Chapter
  • Citations7

Automated Detection of Logical Errors in Programs

  • Jan 01, 2015
  • George Stergiopoulos +2
  • Research Article
  • Citations32

Eth2Vec: Learning contract-wide code representations for vulnerability detection on Ethereum smart contracts

  • Aug 19, 2022
  • Blockchain: Research and Applications
  • Nami Ashizawa +3
  • Conference Article

Introduction to dynamic program analysis with DiSL

  • Apr 21, 2013
  • Lukáa Marek +6
  • Research Article
  • Citations4

Breadcrumbs

  • Jun 05, 2010
  • ACM SIGPLAN Notices
  • Michael D Bond +2
  • Conference Article
  • Citations17

CharmPy: A Python Parallel Programming Model

  • Sep 01, 2018
  • Juan J Galvez +2
  • Conference Article
  • Citations4

Interactive sensitive data exposure detection through static analysis

  • May 01, 2017
  • Md A Obaida +4
  • Conference Article
  • Citations3

Is Your Graph Algorithm Eligible for Nondeterministic Execution?

  • Sep 01, 2015
  • Zhiyuan Shao +4
  • Book Chapter
  • Citations1

A Test Environment for High Integrity Software Development

  • Jan 01, 2003
  • Alejandro Alonso +2
  • Conference Article
  • Citations21

Explaining Static Analysis - A Perspective

  • Nov 01, 2019
  • Marcus Nachtigall +2
  • Conference Article
  • Citations1

Unobtrusive Asynchronous Exception Handling with Standard Java Try/Catch Blocks

  • May 01, 2018
  • Mostafa Mehrabi +2
  • Conference Article

Rustc++: Facilitating Advanced Analysis of Rust Code

  • Mar 30, 2025
  • Antonis Louka +2
  • Book Chapter

Software Tool Issues

  • Jan 01, 2010
  • Michael Hennell
  • Conference Article

CRYScanner: Finding cryptographic libraries misuse

  • Dec 21, 2021
  • Amit Choudhari +2
  • Research Article
  • Citations156

Ethereum Smart Contract Analysis Tools: A Systematic Review

  • Jan 01, 2022
  • IEEE Access
  • Satpal Singh Kushwaha +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.