Embedded Python: MicroPython Is Amazing
hackaday.com
Embedded Python: MicroPython Is Amazing
1–10 of 16 posts
Re: Embedded Python: MicroPython Is Amazing
#2Re: Embedded Python: MicroPython Is Amazing
#3Re: Embedded Python: MicroPython Is Amazing
#4Is memory fragmentation still a thing? I'm sure it is as there are no free lunches as it were. But I agree Micro Python is amazing just have to think about memory usage a little more maybe on smaller devices that run a long time.
Re: Embedded Python: MicroPython Is Amazing
#5Re: Embedded Python: MicroPython Is Amazing
#6Is memory fragmentation still a thing? I'm sure it is as there are no free lunches as it were. But I agree Micro Python is amazing just have to think about memory usage a little more maybe on smaller devices that run a long time.
I mean does it matter these days? I expect an IOT device to reboot at least once a day and take 2 seconds to boot up at max.
Re: Embedded Python: MicroPython Is Amazing
#7Re: Embedded Python: MicroPython Is Amazing
#8I just want a simple SMALL embeddable python library for my C programs... but I have yet to find a good one.
Also fully fuzzy tested to not ever crash regardless of the bytecode given to it.
Re: Embedded Python: MicroPython Is Amazing
#9All the examples I've found seem to center around doing things interactively in the CLI. Do people write code like that? I write a lot of python and I maybe interact directly with a REPL for 5 minutes in a month.
There was no good tooling for managing a set of script files on the embedded device, and as soon as I had something mildly complex (on a ESP32, consuming from MQTT and writing to a serial device), I started hitting OOM errors. I rewrote a bunch of stuff to not use classes, which helped a bit, and then wound up giving up.