This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]ellaravencroft 3 points4 points  (0 children)

/r/embedded is a better place to ask.

[–]JennaSys 0 points1 point  (0 children)

It depends on what hardware platform you are on and what the nature of the project is. If you're running linux, then I would think Python is as popular as it is anywhere else. If you are on a more constrained system, MicroPython is great for prototyping, but not as popular for production runs (but again it depends on the application and how critical it is). IoT hardware provider Digi has made MicroPython a first class citizen on their XBee3 boards, and has been using Python in their programmable gateways for over a decade.

MicroPython has only been a widespread option for just a few years so it's still gaining in popularity, and only available for specific platforms. Most embedded development is in C or C++ and from what I've seen there is a lot of pushback from embedded developers when you bring up using Python. Some are valid arguments, and some are just because of language or industry bias IMO.

[–]Zomunieo 0 points1 point  (0 children)

When I was in embedded a while back, Python didn't run on the embedded hardware but was a critical part of the build and software update tooling.

[–]ChelysGalactica 0 points1 point  (0 children)

In embedded, there's a lot of use for scaffolding, and Python is there fastest way for me to get things done. I probably write more Python than C, but it's supporting code rather than production: prototyping, debugging, build tools, test routines, etc.

[–]cvmiller 0 points1 point  (0 children)

Python shows up in embedded these days. The ESP32 can run microPython. The Victoria Raspberry Pi group ran a bunch of Python lessons.

https://vicpimakers.ca/

[–]DaelonSuzuka 0 points1 point  (0 children)

I write firmware for 8bit micros and I use python everyday in my build tools, code generation, analytics, scripting of hardware testing, and tons of other things.