Re:Why Lua Beats MicroPython for Serious Embedded Devs
by 3036e4 on Sunday July 13, 2025 @12:14PM
(#44551448)
Python also seems to have more issues with stability, in the sense that things randomly stop working when you upgrade from version 3.x to 3.x+1. Lua might not be perfect either, but at least it seems common that a platform supports a range of Lua versions instead of forcing an immediate upgrade.
Re:Why Lua Beats MicroPython for Serious Embedded Devs
by marky1991 on Sunday July 13, 2025 @04:34PM
(#44553466)
Could you give some examples?
Re:Why Lua Beats MicroPython for Serious Embedded Devs
by 3036e4 on Monday July 14, 2025 @04:15PM
(#44564749)
No, but we have a steady stream of tickets at work for scripts that must be fixed to work with a new minor python version.
I thought this was common knowledge. Just look at the non-empty list of removed things in every minor release changelog. If you have enough code to maintain something is going to affect you directly or indirectly.
Python does have the 'there should be one, preferably only one, way to do it' mantra, but to me it utterly fails at that, and is in fact a bit of a 'kitchen sink' or 'armchair' language.
That is it's strength in some ways, it's easy and approachable, and has more libraries than perhaps any other language, so you can usually get something working fairly quickly.
But it's not so suited to sparse environments. You can't easily turn a plump armchair with automatic footrests and telescoping side-tables into a plywood Eames.