A Case Study on Using Functional Programming for Internet of Things Applications
Journal: Athens Journal of Technology & Engineering (Vol.3, No. 1)Publication Date: 2016-03-01
Authors : Till Haenisch;
Page : 29-38
Keywords : Functional programming; Internet of Things; IT-Security; Software Architecture;
Abstract
In this paper a case study, which shows that the code size and complexity of a system which collects and interprets sensor data in an Internet of Things scenario can be reduced using functional programming techniques, is presented. On one hand this is especially important for security reasons: Such a system must run for a long time without an effective way to distribute software patches. On the other hand in this kind of system the consequences of a malfunction (intended or not) are much more critical than in standard computing situations, because real world buildings or industrial sites are affected. From a high level perspective the data processing at the base station of such a sensor network can be considered as a set of mathematical functions operating on a stream of values. Each function creates a new stream of values, which might be processed by another function. This means that the complete functionality can easily be described and programmed in a functional language, such as elixir, Erlang or Scala.
Other Latest Articles
- Challenging the Future. Implications of the Horizon Scan 2050 for the Dutch Top-Industry Innovation Policy
- Integration of GIS and RFID technologies
- Projecting of geoinformation system in service of electro-distributive firm ''Elektro-Bijeljina'' in Bijeljina
- Absolute gravimetry
- Evaluation of accuracy of state topographic map scale 1:25 000
Last modified: 2016-01-26 16:29:31