Interesting.<p><a href="https://micropythonos.com/" rel="nofollow">https://micropythonos.com/</a><p><a href="https://github.com/MicroPythonOS/MicroPythonOS" rel="nofollow">https://github.com/MicroPythonOS/MicroPythonOS</a><p><a href="https://fosdem.org/2026/schedule/event/9GGXNF-micropythonos-best-of-android-now-on-mcus/" rel="nofollow">https://fosdem.org/2026/schedule/event/9GGXNF-micropythonos-...</a>
While cool, it certainly won't be delivering Android-like performance, due to the lack of JIT and AOT compiler, coupled with PGO metadata, shared via the PlayStore across devices.
So, am I right in assuming that ESP32, being simple and slow, isn't going to have cache lines or anything, and would just need 1-2 cycles to access its RAM? In which case a pointer-chasing dynamic language like python wouldn't have all of the typical performance penalties from constant cache misses?<p>EDIT: upon further research, I think the above assumptions are more or less all wrong, starting with the "simple" part. To start with, they're Harvard-architecture-ish with separate memory pathways - and caches - for data and instructions, so off the bat they have more heterogeneity than your modern general purpose CPUs. Also there seems to be a very wide variety of memory mappings, buses, and caching systems within ESP32 "family". [1]<p>[1] <a href="https://developer.espressif.com/blog/2024/08/esp32-memory-map-101/" rel="nofollow">https://developer.espressif.com/blog/2024/08/esp32-memory-ma...</a>
ESP32 is still much better than this,<p><a href="https://en.wikipedia.org/wiki/Amstrad_PC1512" rel="nofollow">https://en.wikipedia.org/wiki/Amstrad_PC1512</a><p>Which was my introduction to PCs, playing Defender of the Crown at the school computer club.
Really cool. How can this be fast? I'd have thought that Python (even MicroPython) would just be unsuitable for certain things like the graphics and animations, at the very least.
Python code and resource-constraint device don't seem like a good combo in terms of performance. Is it just for prototyping?
Only in the same sense as interpreted BASIC in 8 bit home computers, with their 64 KB RAM, single digit MHz, tape loading.<p>Good for prototyping and introduction to programming, then you had to switch to Assembly for anything meaningful.<p>Here, you might switch to Assembly like in those days, or maybe C, C++, Rust, Zig, whatever.
Micro python is the last hope for Python.
Python simplicity got destroyed by a bunch of new wave of programmers who packed a lot of new useless features into it in the past 10 yrars. Now it's NOT easy and small language as it used to be...<p>Feature creep is an awful side effect.
I would love to have language having just few add-ons per decade so I can grasp it all
I still do not understand how Python won out over lua. Which is imho the superior scripting language just constrained by a smaller userbase.
Lua is like embeddable in what 500 KiB. While python takes its about 200 to 300 MiB
I know Python since version 1.6, it was never simple, people that don't read the reference manuals are the ones that think that is a BASIC like language in complexity, when in reality it has always been more into Common Lisp / C++ kind of sense.
>> "the last hope for Python"<p>Python is in the top 3 programming languages in the world.
This is kind of a strange take to me given that Python is quickly becoming the default for many projects that 1) are not indexing for speed/efficiency and 2) is not on the web (and sometimes this only applies for frontend). There are plenty of cases where that statement is incorrect but I think you get my point.<p>I think I read a title on HN that was literally titled “Why Python Won” in late 2025.
Which useless features?
Amazing. We have actually gone full circle reactionary on the typing debate where duck typing is considered the "traditional" way by some.
Walrus operator, match. They're just syntax sugar, but expand the vocabulary for little benefit.
All of them. Starting with syntax changes or type hints.... (Python should be always and only be duck typed forever as designed by God itself (it's creator).
async is the big one. it was half-baked
Wow, these preassembled ESP32 plus touchscreen boards are extremely cheap, and there are tons of them in all kinds of different form factors on Amazon. I didn't realize this kind of thing was so plentiful, this seems like a great way to bootstrap many kinds of electronics/IoT projects
Yeah ESP32 is an awesome rabbit hole. An esp32-c6, cheap yellow display, and a 3d printer and you can build some really interesting things.
Any commercial products using ESP?
Just look for ESP32 CYD - CYD stands for cheap yellow display. There are a lot of variants.<p><a href="https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display?tab=readme-ov-file" rel="nofollow">https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display?t...</a> . I bought mine for about $12 and it's been quite fun tinkering with it.
<a href="https://templates.blakadder.com/esp32.html" rel="nofollow">https://templates.blakadder.com/esp32.html</a><p>Here’s a list of just a few. They’re insanely popular not only because they’re just good to use, but also because they’re one of the cheaper FCC approved modules you can buy, which takes a lot of the pain out of bringing a product to market.
A lot of Shelly devices use ESP chips: <a href="https://www.shelly.com/" rel="nofollow">https://www.shelly.com/</a> - And they are hackable!
I think there are plenty using espressif chips. One of my robot vacuums (possibly the Neato?) certainly appeared to be.
AFAIK my humidifier uses an ESP32 chip.
Yes, many. As a random example, see: <a href="https://www.servethehome.com/ubiquiti-flex-mini-2-5g-review-ubiquiti-does-a-cheap-5-port-2-5gbe-switch/" rel="nofollow">https://www.servethehome.com/ubiquiti-flex-mini-2-5g-review-...</a><p>The last image on the page shows various chips in the switch, the top left is an ESP32.
Love me some MicroPython. Building a product line of small farm security devices that use uPy and MQTT.
Previously on HN: <a href="https://news.ycombinator.com/item?id=45525804">https://news.ycombinator.com/item?id=45525804</a>
Would it be possible to slap this on top of FreeRTOS?
Looks better than any Python GUI framework I’ve seen..
It uses LVGL <a href="https://github.com/lvgl/lvgl" rel="nofollow">https://github.com/lvgl/lvgl</a>
I reckon you've never seen flet.<p><a href="https://flet.dev" rel="nofollow">https://flet.dev</a>
Can we port it to Intel, I wonder...?
how does it compare to <a href="https://github.com/wasp-os/wasp-os" rel="nofollow">https://github.com/wasp-os/wasp-os</a>?
Interesting. Would want to see this going on actual Android. Especially since I have a few Python GUI projects going which I intend to use on Android (but currently using flet).<p><a href="https://flet.dev" rel="nofollow">https://flet.dev</a>
Does it run on the CYD?
<a href="https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display" rel="nofollow">https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display</a>
I would love to have this, but Lua not Python.
I wonder how hard to port this to eLua would be? The bigger problem is probably packing.<p>Pip can work fine with MicroPython. LuaRocks can be a pain, even on desktop.
Mathematicians don't build GUIs, and nobody else can stand starting their arrays with 1.
Plenty of languages use either 1 as base or flexible array indexes.
Lua also let's you start arrays at 3.
As does Perl with `$[`[0][1]<p>[0] "This variable stores the index of the first element in an array, and of the first character in a substring."<p>[1] With the caveat: 'As of Perl v5.30.0, or under "use v5.16", or "no feature "array_base"", $[ no longer has any effect"'
You can start your arrays in Lua at 0. Conventionally you don't, but you can.
Does it support the threading module?
Will MicroPythonOS also work with CircuitPython?<p>CircuitPython docs > Differences from MicroPython:
<a href="https://docs.circuitpython.org/en/latest/README.html#differences-from-micropython" rel="nofollow">https://docs.circuitpython.org/en/latest/README.html#differe...</a><p>Also, there's pipkin:
<a href="https://github.com/aivarannamaa/pipkin#pipkin" rel="nofollow">https://github.com/aivarannamaa/pipkin#pipkin</a> :<p>> <i>Tool for managing distribution packages for MicroPython and CircuitPython on target devices or in a local directory.</i><p>> <i>Supports mip- and upip-compatible packages, and regular pip-compatible packages</i><p>Hopefully - for 3 types of packages - pipkin supports GPG signatures, PyPI's TUF, and/or sigstore attestations like pip?<p>Just checked; pip doesn't support checking PEP740 attestations yet either?<p>pipkin: <a href="https://github.com/aivarannamaa/pipkin" rel="nofollow">https://github.com/aivarannamaa/pipkin</a><p>trailofbits/pip-plugin-pep740:
<a href="https://github.com/trailofbits/pip-plugin-pep740" rel="nofollow">https://github.com/trailofbits/pip-plugin-pep740</a>
I'd use it. I'd be curious to see how close to daily driving it is for stuff like calls, SMS, and email. Something not driven by a giant data mining company would be splendid.
[dead]
> Android-like user experience<p>so crap. No inovation those days.
I really wish people would stop trying to innovate with user interfaces. In a comment below you criticize this UI because it doesn't have delimited interface elements. I agree that non-delimited user interface is really bad, but I attribute that mostly to Microsoft's flat design innovation, which I didn't like at the time, and I still wish I hadn't had so much influence.<p>As for invisible scroll bars, again we agree. But I think that was Apple. I'm sure somebody will correct me if it wasn't.
That "Android-like" is based on LVGL which is a brilliant GUI framework for ESP32 (not invented for this project) when you consider the low capacities of the hardware and how efficiently it pulls the animations.<p>If Android had such GUI, it would be a heck lot faster and drink less energy.
MIT lisenced; feel free to fork it if your feeling especially filial
What would you have wanted to see?
It's FOSS, so you can use it primarily for output with real switches and knobs for input. But then just using plain LVGL would probably be more practical.
I mean I kind of get your frustration, but I don't think innovating the user interface is not really the goal of this project, the opposite actually, it's moreso trying to provide a well-known user interface to devices where that was previously hard, so the goal is to be similar.<p>I would like to see some fresh ideas in UI though, everything is the same nowadays... :(