Lune

PLDI2020Top-tier venue

HipHop.js: (A)Synchronous reactive web programming

Gérard Berry, Manuel Serrano

Abstract

We present HipHop.js, a synchronous reactive language that adds synchronous concurrency and preemption to JavaScript. Inspired from Esterel, HipHop.js simplifies the programming of non-trivial temporal behaviors as found in complex web interfaces or IoT controllers and the cooperation between synchronous and asynchronous activities. HipHop.js is compiled into plain sequential JavaScript and executes on unmodified runtime environments. We use three examples to present and discuss HipHop.js: a simple web login form to introduce the language and show how it differs from Java-Script, and two real life examples, a medical prescription pillbox and an interactive music system that show why concurrency and preemption help programming such temporal applications.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Automatic migration from synchronous to asynchronous JavaScript APIsSatyajit Gokhale, Alexi Turcotte, Frank TipOOPSLA 2021 · 23 citations
  2. Reactive probabilistic programmingGuillaume Baudart, Louis Mandel, Eric Atkinson, Benjamin Sherman et al.PLDI 2020 · 1 citation
  3. Hierarchical Intent-guided Optimization with Pluggable LLM-Driven Semantics for Session-based RecommendationJinpeng Chen, Jianxiang He, Huan Li, Senzhang Wang et al.SIGIR 2025 · 6 citations
  4. Riffle: Reactive Relational State for Local-First ApplicationsGeoffrey Litt, Nicholas Schiefer, Johannes Schickling, Daniel JacksonUIST 2023 · 6 citations
  5. Race Detection for Event-Driven Node.js ApplicationsXiaoning Chang, Wensheng Dou, Jun Wei, Tao Huang et al.ASE 2021 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines