2 research outputs found
Declarative Programming for Microcontrollers -- Datalog on Arduino
In this paper we describe an approach to programming microcontrollers based
on the Arduino platform using Datalog as a clear and concise description
language for system behaviors. The application areas of cheap and easily
programmable microcontrollers, like robotics, home automation, and IoT devices
hold mainstream appeal and are often used as motivation in natural science and
technology teaching. The choice of programming languages for microcontrollers
is severely limited, especially with regard to rule-based declarative
languages. We use an approach that is based on the Dedalus language augmented
with operations that allow for side-effects and takes the limited resources of
a microcontroller into account. Our compiler and runtime environment allow to
run Datalog programs on Arduino-based systems.Comment: Part of DECLARE 19 proceeding
Comparing Selected Criteria of Programming Languages Java, PHP, C++, Perl, Haskell, AspectJ, Ruby, COBOL, Bash Scripts and Scheme Revision 1.0 - a Team CPLgroup COMP6411-S10 Term Report
Comparison of programming languages is a common topic of discussion among
software engineers. Few languages ever become sufficiently popular that they
are used by more than a few people or find their niche in research or
education; but professional programmers can easily use dozens of different
languages during their career. Multiple programming languages are designed,
specified, and implemented every year in order to keep up with the changing
programming paradigms, hardware evolution, etc. In this paper we present a
comparative study between ten programming languages: Haskell, Java, Perl, C++,
AspectJ, COBOL, Ruby, PHP, Bash Scripts, and Scheme; with respect of the
following criteria: Secure programming practices, web applications development,
web services design and composition, object oriented-based abstraction,
reflection, aspect-orientation, functional programming, declarative
programming, batch scripting, and user interface prototype design.Comment: 10 page