Cognitive Computing Systems in Reactive Multimedia Applications Developed in CÉU

The integration of multimedia frameworks and APIs for accessing cognitive computing systems into a unified programming model may not be straightforward. Current solutions use programming models that lead to problems like callback hell or synchronization of threads. In this paper, we explore the use of the reactive programming paradigm to create multimedia applications that explore cognitive computing systems features. By using CÉU as instance of reactive language, we discuss how this approach promotes a straightforward integration between these domains, while avoiding the aforementioned issues. We discuss the implementation of two case studies to illustrate the advantages of this approach.

[1]  Albert Benveniste,et al.  The synchronous approach to reactive and real-time systems , 1991 .

[2]  Gérard Berry,et al.  The Esterel Synchronous Programming Language: Design, Semantics, Implementation , 1992, Sci. Comput. Program..

[3]  Roberto Ierusalimschy,et al.  Safe system-level concurrency on resource-constrained nodes , 2013, SenSys '13.

[4]  Martin Odersky,et al.  Deprecating the Observer Pattern with Scala.React , 2012 .

[5]  Márcio Ferreira Moreno,et al.  NCM 3.1: A Conceptual Model for Hyperknowledge Document Engineering , 2016, DocEng.

[6]  Roberto Ierusalimschy,et al.  Structured synchronous reactive programming with Céu , 2015, MODULARITY.

[7]  Roberto Ierusalimschy,et al.  Structured Reactive Programming with Céu , 2014 .

[8]  Zoran A. Salcic,et al.  SystemJ: A GALS language for system level design , 2010, Comput. Lang. Syst. Struct..

[9]  Edward A. Lee The problem with threads , 2006, Computer.

[10]  Wolfgang De Meuter,et al.  A survey on reactive programming , 2013, CSUR.

[11]  Noemi de La Rocque Rodriguez,et al.  CÉU-MEDIA: Local Inter-Media Synchronization using CÉU , 2016, WebMedia.

[12]  Paul Hudak,et al.  Functional reactive animation , 1997, ICFP '97.

[13]  Ivan Beschastnikh,et al.  Don't Call Us, We'll Call You: Characterizing Callbacks in Javascript , 2015, 2015 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM).

[14]  Simon J. Thompson,et al.  Modelling Reactive Multimedia: Design and Authoring , 2005, Multimedia Tools and Applications.

[15]  Angela Guercio,et al.  A Model for Integrating Deterministic and Asynchronous Events in Reactive Multimedia Internet Based Languages , 2004, International Conference on Internet Computing.