Efficient high-level abstractions for web programming - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Efficient high-level abstractions for web programming

Résumé

Writing large Web applications is known to be difficult. One challenge comes from the fact that the application's logic is scattered into heterogeneous clients and servers, making it difficult to share code between both sides or to move code from one side to the other. Another challenge is performance: while Web applications rely on ever more code on the client-side, they may run on smart phones with limited hardware capabilities. These two challenges raise the following problem: how to benefit from high-level languages and libraries making code complexity easier to manage and abstracting over the clients and servers differences without trading this ease of engineering for performance? This article presents high-level abstractions defined as deep embedded DSLs in Scala that can generate efficient code leveraging the characteristics of both client and server environments. We compare performance on client-side against other candidate technologies and against hand written low-level JavaScript code. Though code written with our DSL has a high level of abstraction, our benchmark on a real world application reports that it runs as fast as hand tuned low-level JavaScript code.
Fichier principal
Vignette du fichier
p53-foy.pdf (251.52 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00920786 , version 1 (19-12-2013)

Identifiants

Citer

Julien Richard-Foy, Olivier Barais, Jean-Marc Jézéquel. Efficient high-level abstractions for web programming. Generative Programming: Concepts and Experiences, GPCE'13, Oct 2013, Indianapolis, United States. pp.53-60, ⟨10.1145/2517208.2517227⟩. ⟨hal-00920786⟩
288 Consultations
754 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More