moddable
esp32quickjs
Our great sponsors
moddable | esp32quickjs | |
---|---|---|
12 | 1 | |
1,254 | 31 | |
1.8% | - | |
9.8 | 0.0 | |
7 days ago | over 2 years ago | |
C | C | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
moddable
-
Microvium Is Small
I experimented with Moddable some time ago and also contributed a module for Linux. It's written in C and I found the code quite readable, and the entire architecture good too. It's almost ES6 complete too.
-
Pikascript: An ultra-lightweight Python engine that can run in 4Kb of RAM
There's JavaScript/ECMAScript via Moddable's XS engine: https://github.com/Moddable-OpenSource/moddable
"A typical microcontroller used with the Moddable SDK has about 45 KB of free memory, 1 MB of Flash ROM, and runs at 80 MHz. The Moddable SDK uses many different techniques, both at build time and at run time, to work efficiently on these devices."
-
Why is MicroPython a thing
You think that’s bad. How about JavaScript for embedded https://github.com/Moddable-OpenSource/moddable
-
Running TypeScript on ESP8266/ESP32 Devices
> Transpile TypeScript to Espruino flavor of JavaScript
Why not just use an engine (like Moddable's XS[1]) that supports ECMAScript 2018 instead of Espruino's subset of ES5?
- Why doesn’t V8 fit on my microcontroller?
esp32quickjs
-
Why doesn’t V8 fit on my microcontroller?
If the scope is limited to ESP32/ESP8266, it seems technically possible to run QuickJS on them.
From Fabrice Bellard himself:
> QuickJS should be able to run on the ESP32 platform as it is OS independent (as you said, quickjs-libc.c is not part of the engine). For simple scripts it should fit in the available RAM.
https://www.freelists.org/post/quickjs-devel/quickjs-on-esp3...
Some attempts on GitHub:
https://github.com/binzume/esp32quickjs
What are some alternatives?
quickjs-esp32 - QuickJS port for ESP32
Espruino - The Espruino JavaScript interpreter - Official Repo
quickjs - Public repository of the QuickJS Javascript Engine.
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers
esp8266-quickjs - An attempt on getting QuickJS working on ESP8266 hardware
PikaPython - An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.
phpdesktop - Develop desktop GUI applications using PHP, HTML5, JavaScript and SQLite
microvium - A compact, embeddable scripting engine for applications and microcontrollers for executing programs written in a subset of the JavaScript language.
qemu_esp32 - Add tensilica esp32 cpu and a board to qemu and dump the rom to learn more about esp-idf
embedded-hal - A Hardware Abstraction Layer (HAL) for embedded systems
nesper - Program the ESP32 with Nim! Wrappers around ESP-IDF API's.