jerryscript
MicroPython
jerryscript | MicroPython | |
---|---|---|
16 | 203 | |
7,102 | 19,796 | |
1.0% | 0.9% | |
8.2 | 9.8 | |
about 2 months ago | 9 days ago | |
C | C | |
Apache License 2.0 | MIT |
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.
jerryscript
-
State of JavaScript 2024 Results, GitHub Copilot Now Free, EPIC Developer Tools, and more
The State of JavaScript 2024 survey results GitHub Copilot is now Free Tailwind CSS 4 JerryScript 3.0 Transformers.js v3.2 Bun 1.1.39 & 1.1.40 pnpm Update ESLint v9.17.0
-
Hyperlight: Virtual machine-based security for functions at scale
I believe the team has a working build of JerryScript [1] to test out the C bindings, but I’m not sure that will be released.
My understanding is that work on the Wasmtime VM guest is ongoing, which will enable Hyperlight to run the SterlingMonkey engine [2]. This is a WebAssembly build of Firefox’s SpiderMonkey engine which was donated by Fastly to the Bytecode Alliance.
That said though; I agree it would be great to see runtimes like V8 and JSC run directly on Hyperlight. There are good reasons why people might prefer those over StarlingMonkey (compat comes to mind), and it would be neat to see how much faster they could start compared to conventional VM deployments.
[1]: https://jerryscript.net/
-
A list of JavaScript engines, runtimes, interpreters
JerryScript
-
JavaScript Runtime and Code Lifecycle
Some IoT platforms use Duktape and JerryScript as their engines.
-
DeviceScript: TypeScript for Tiny IoT Devices
I've been having a lot of fun with https://kalumajs.org/ recently for silly JS embedded things. It's been great so far, and has a cool little community!
It's a runtime built on top of JerryScript, which has been pretty neat to look into as well: https://jerryscript.net/
-
Good example open source C++ embedded projects
Jerryscript came to mind : https://github.com/jerryscript-project/jerryscript
- Arduino Announces MicroPython Support
-
JavaScript embedded inside Elixir
I personally quite like JerryScript
-
Kaluma - tiny JavaScript runtime for microcontrollers - includes a browser-based IDE that can communicate with a Raspberry Pi Pico and other RP2040 boards via Web Serial API. Write code in the browser (in JavaScript), then copy and run it on the board with a click of a button.
Based on JerryScript, the creators also provide an IDE and serial communication tool on their website. There's also ample documentation and guides. Looking forward to getting more into this.
-
TypeScript is the Only Programming Language you Need: TypeScript Everywhere
I hear you loud and clear.
MicroPython
-
Tactility: OS for the ESP32 Microcontroller Family
I'm personally working on something like this for the ESP32, but written on top of micropython [1]. A few things are written in C such as the display driver, but otherwise most things are in micropython. We chose the T-Watch 2020 V3 microphone variant as the platform [2].
Our objective is to build a modern PDA device via a mostly stand-alone watch that can be synced across devices (initially the Linux desktop). We want to achieve tasks that you might typically do on your desktop, focussed towards productivity.
We did consider a custom OS, but decided against it for a few reasons:
1. Allowing somebody else to handle basic OS stuff allows us to concentrate on what really matters, the higher level stuff on top.
2. Having multiple threads in micropython is super simple and we are able to run many active apps at the same time, rather than having to kill them off [3]. Our background apps can continuously interact with the network in the background.
3. Code written for micropython can be easily run on other Python-capable devices.
[1] https://micropython.org/
[2] https://lilygo.cc/products/t-watch-2020-v3
[3] https://tactility.one/#/application-lifecycle
- Release RP2350 and ESP32-C6 support, RISC-V native emitter, common TinyUSB code
-
Wasm2Mpy: Compiling WASM to MicroPython so it can run in Raspberry
tools/mpy_ld.py: https://github.com/micropython/micropython/blob/master/tools...
tools/mpy-tool.py lists opcodes: https://github.com/micropython/micropython/blob/master/tools...
Can the same be done with .pyc files; what are the advantages of MicroPython native modules?
Why does it need wasm2c?
- What is micropython?
-
Understanding MicroPython: Python for Small Devices
For more: https://micropython.org/
-
Porting Python to a terrible $3 smartwatch [video]
For context
> MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.
https://micropython.org/
-
RustPython
Just putting my hand up to say that MicroPython is awesome (and runs on the RP2040). https://micropython.org
-
Lilygo T-Deck: 2.8-inch IPS LCD display, mini keyboard, and ESP32 processor
Gah, I just ordered one on impulse [1]. I've wanted to build out a WiFi PDA for quite some time now and I like this hardware.
I'm quite liking the idea of running tulip MicroPython [2] on it, or going back to pure MicroPython [3] and writing some drivers. Apparently something like ampy can be used to upload/download Python files [4].
Threads could be quite exciting for running multiple programs at once [5], although I have no idea what it means for two programs to fight over GPIO! It does seem as though MicroPython can only utilise a single core [6].
[1] https://www.lilygo.cc/products/t-deck?variant=43087936487605
[2] https://github.com/bwhitman/tulipcc/tree/main/tulip/tdeck
[3] https://docs.micropython.org/en/latest/esp32/tutorial/intro....
[4] https://www.digikey.co.uk/en/maker/projects/micropython-basi...
[5] https://docs.micropython.org/en/latest/library/_thread.html
[6] https://github.com/micropython/micropython/issues/8197
- MicroPython v1.22.0
-
MicroPython VS PikaPython - a user suggested alternative
2 projects | 25 Dec 2023
What are some alternatives?
quickjs - Public repository of the QuickJS Javascript Engine.
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint
Unicorn Engine - Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
Espruino - The Espruino JavaScript interpreter - Official Repo
quickjspp - Port of QuickJS Javascript Engine.
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
just - the only javascript runtime to hit no.1 on techempower :fire:
IronPython - Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.
mjs - Embedded JavaScript engine for C/C++
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.