Hiphop: a synchronous reactive extension for hop

  • Authors:
  • Gérard Berry;Cyprien Nicolas;Manuel Serrano

  • Affiliations:
  • Inria Sophia Antipolis Méditerranée, Sophia Antipolis, France;Inria Sophia Antipolis Méditerranée, Sophia Antipolis, France;Inria Sophia Antipolis Méditerranée, Sophia Antipolis, France

  • Venue:
  • Proceedings of the 1st ACM SIGPLAN international workshop on Programming language and systems technologies for internet clients
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Hop is a Scheme-based language and system to build rich multi-tier web applications. We present HipHop, a new language layer within Hop dedicated to request and event orchestration. HipHop follows the synchronous reactive model of the Esterel and ReactiveC languages, originally developed for embedded systems programming. It is based on synchronous concurrency and preemption primitives, which are known to be key components for the modular design of complex temporal behaviors. Although the language is concurrent, the generated code is purely sequential and thread-free; HipHop is translated to Hop for the server side and to straight JavaScript for the client side. With a music playing example, we show how to modularly build non-trivial orchestration code with HipHop.