Integrated IoT programming with selective abstraction

Gyeongmin Lee, Seonyeong Heo, Bongjun Kim, Jong Kim, Hanjun Kim

Research output: Chapter in Book/Report/Conference proceedingConference contribution

5 Citations (Scopus)


The explosion of networked devices has driven a new computing environment called the Internet of Things (IoT), enabling various services such as home automation and health monitoring. Despite the promising applicability of the IoT, developing an IoT service is challenging for programmers, because the programmers should integrate multiple programmable devices and heterogeneous third-party devices. Recent works have proposed integrated programming platforms, but they either require device-specific implementation for third-party devices without any device abstraction, or abstract all the devices to the standard interfaces requiring unnecessary abstraction of programmable devices. To integrate IoT devices with selective abstraction, this work revisits the object oriented programming (OOP) model, and proposes a new language extension and its compiler-runtime framework, called Esperanto. With three annotations that map each object to its corresponding IoT device, the Esperanto language allows programmers to integrate multiple programmable devices into one OOP program and to abstract similar third-party devices into their common ancestor classes. Given the annotations, the Esperanto compiler automatically partitions the integrated program into multiple sub-programs for each programmable IoT device, and inserts communication and synchronization code. Moreover, for the ancestor classes, the Esperanto runtime dynamically identifies connected third-party devices, and links their corresponding descendent objects. Compared to an existing approach on the integrated IoT programming, Esperanto requires 33.3% fewer lines of code to implement 5 IoT services, and reduces their response time by 44.8% on average.

Original languageEnglish
Title of host publicationLCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017
EditorsZili Shao, Vijay Nagarajan
PublisherAssociation for Computing Machinery
Number of pages10
ISBN (Electronic)9781450350303
Publication statusPublished - 2017 Jun 21
Event18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2017 - Barcelona, Spain
Duration: 2017 Jun 212017 Jun 22

Publication series

NameProceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES)
VolumePart F128681


Other18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2017

Bibliographical note

Funding Information:
We thank the anonymous reviewers for their insightful comments and suggestions. We also thank the CoreLab and HPC Lab for their support and feedback during this work. This work is supported by Samsung Research Funding Center of Samsung Electronics under Project Number SRFC-TB1403-04.

All Science Journal Classification (ASJC) codes

  • Software


Dive into the research topics of 'Integrated IoT programming with selective abstraction'. Together they form a unique fingerprint.

Cite this