• Home
  • Search
  • Performance Evaluation of C/C++, MicroPython, Rust and TinyGo Programming Languages on ESP32 Microcontroller
  • Cite Icon55
  • https://doi.org/10.3390/electronics12010143Copy DOI Icon

Performance Evaluation of C/C++, MicroPython, Rust and TinyGo Programming Languages on ESP32 Microcontroller

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The rapid growth of the Internet of Things (IoT) and its applications requires high computational efficiency, low-cost, and low-power solutions for various IoT devices. These include a wide range of microcontrollers that are used to collect, process, and transmit IoT data. ESP32 is a microcontroller with built-in wireless connectivity, suitable for various IoT applications. The ESP32 chip is gaining more popularity, both in academia and in the developer community, supported by a number of software libraries and programming languages. While low- and middle-level languages, such as C/C++ and Rust, are believed to be the most efficient, TinyGo and MicroPython are more developer-friendly low-complexity languages, suitable for beginners and allowing more rapid coding. This paper evaluates the efficiency of the available ESP32 programming languages, namely C/C++, MicroPython, Rust, and TinyGo, by comparing their execution performance. Several popular data and signal processing algorithms were implemented in these languages, and their execution times were compared: Fast Fourier Transform (FFT), Cyclic Redundancy Check (CRC), Secure Hash Algorithm (SHA), Infinite Impulse Response (IIR), and Finite Impulse Response (FIR) filters. The results show that the C/C++ implementations were fastest in most cases, closely followed by TinyGo and Rust, while MicroPython programs were many times slower than implementations in other programming languages. Therefore, the C/C++, TinyGo, and Rust languages are more suitable when execution and response time are the key factors, while Python can be used for less strict system requirements, enabling a faster and less complicated development process.

Similar Papers
  • Conference Article
  • Citations3

GNSS System Design and Evaluation for IoT Applications

  • Nov 03, 2017
  • Proceedings of the Satellite Division's International Technical Meeting (Online)/Proceedings of the Satellite Division's International Technical Meeting (CD-ROM)
  • Toru Katsumoto +3
  • PDF
  • Research Article
  • Citations18

SimTalk: Simulation of IoT Applications

  • Apr 30, 2020
  • Sensors (Basel, Switzerland)
  • Yun-Wei Lin +2
  • PDF
  • Research Article
  • Citations9

Efficient Parallel Implementation of CTR Mode of ARX-Based Block Ciphers on ARMv8 Microcontrollers

  • Mar 12, 2021
  • Applied Sciences
  • Jingyo Song +1
  • PDF
  • Research Article
  • Citations2

Energy-Optimized Content Refreshing of Age-of-Information-Aware Edge Caches in IoT Systems

  • Jun 28, 2022
  • Future Internet
  • Martina Pappalardo +2
  • Book Chapter
  • Citations3

A Novel Threat Modeling and Attack Analysis for IoT Applications

  • Jul 14, 2021
  • C K Uday Karthick +1
  • Conference Article
  • Citations3

Recursive filters for compensating the mismatch in time-interleaved ADCs

  • Jul 01, 2015
  • Yong Ching Lim +2
  • Research Article
  • Citations2

Performance evaluation of a priority‐based resource allocation scheme for multiclass services in IoT

  • Aug 20, 2019
  • International Journal of Communication Systems
  • Salman A Alqahtani
  • Book Chapter
  • Citations1

Healthcare-Internet of Things and Its Components

  • Nov 23, 2020
  • Aman Tyagi
  • PDF
  • Research Article

A Semantic Gateway for Internet of Things Interoperability at the Application Layer

  • Dec 01, 2022
  • Applied Computer Systems
  • Sihem Benkhaled +1
  • Research Article
  • Citations135

Privacy preserving Internet of Things: From privacy techniques to a blueprint architecture and efficient implementation

  • Mar 18, 2017
  • Future Generation Computer Systems
  • Prem Prakash Jayaraman +4
  • Research Article
  • Citations32

Planar and printed antennas for Internet of Things‐enabled environment: Opportunities and challenges

  • Aug 06, 2021
  • International Journal of Communication Systems
  • Rashmi Roges +1
  • Conference Article
  • Citations10

A Nano-power Wake-up Circuit for Energy-driven IoT Applications

  • May 28, 2022
  • Li Teng +2
  • Research Article
  • Citations175

A survey on security in internet of things with a focus on the impact of emerging technologies

  • Jul 05, 2022
  • Internet of Things
  • Phillip Williams +3
  • Research Article
  • Citations1

Elliptic‐Curve Cryptography Implementation on RISC‐V Processors for Internet of Things Applications

  • Jan 01, 2024
  • Journal of Engineering
  • Preethi Preethi +5
  • Research Article
  • Citations93

A comprehensive review on Internet of Things application placement in Fog computing environment

  • Jul 01, 2023
  • Internet of Things
  • Hemant Kumar Apat +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.