Mastering the IoT with C++ and JavaScript

In this talk I will demonstrate how to build Internet of Things (IoT) applications for Linux-based devices like the Raspberry Pi, Beaglebone or Tinkerforge RED Brick using C++ and JavaScript and a new open source toolkit named macchina.io.

macchina.io is an open source toolkit for building IoT applications in JavaScript and C++ that connect sensors, devices and cloud services. It is implemented in C++ and based on the POCO C++ Libraries and the Google V8 JavaScript engine.

The talk will be split into two parts. In the first part, I will give a brief overview of macchina.io and show a few code samples for common IoT tasks like obtaining data from sensors, storing sensor data in a local SQLite database, or sending data to cloud services.

In the second part I will talk about some of the more interesting implementation details, like how to integrate the Google V8 JavaScript engine into a C++ framework, as well as the C++-to-JavaScript bridging mechanism implemented in macchina.io that allows the use of C++ classes from JavaScript without the need to manually write glue code or separate interface descriptions.

Speaker: Günter Obiltschnig

Slides: Mastering the IoT with C++ and JavaScript


Go back