Live data from Hacker News

MicroPython

micropython.org

1–10 of 152 posts

Re: MicroPython

#2
I think this is good for someone getting started with microcontrollers(similar to the Arduino)

However, one should not be disillusioned — I doubt this can be used to deploy a mass market product.

However, I can see micro-python’s value in rapid-prototyping to some extent for someone who is not into embedded/firmware as much.

Re: MicroPython

#3
MicroPython is amazing, it runs on very tiny microcontrollers not much else runs on, and makes development of hobbyist embedded projects orders of magnitude easier than C.

I backed it way back when, I think for the ESP8266 support, and have loved it ever since.

Re: MicroPython

#4
post #2

I think this is good for someone getting started with microcontrollers(similar to the Arduino) However, one should not be disillusioned — I doubt this can be used to deploy a mass market product. However, I can see micro-python’s value in rapid-prototyping to some extent for someone who is not into embedded/firmware as much.

Why not? I've used it and it works fine, you don't get the granular control you get with C but I don't think there's anything that makes it fundamentally unsuitable for production.

Re: MicroPython

#6
post #3

MicroPython is amazing, it runs on very tiny microcontrollers not much else runs on, and makes development of hobbyist embedded projects orders of magnitude easier than C. I backed it way back when, I think for the ESP8266 support, and have loved it ever since.

I wouldn't say "very tiny". For example, does it run (and can do something useful) on a 8 KB cortex M0 with 24 KB of flash?

Re: MicroPython

#7
post #4
post #2

I think this is good for someone getting started with microcontrollers(similar to the Arduino) However, one should not be disillusioned — I doubt this can be used to deploy a mass market product. However, I can see micro-python’s value in rapid-prototyping to some extent for someone who is not into embedded/firmware as much.

Why not? I've used it and it works fine, you don't get the granular control you get with C but I don't think there's anything that makes it fundamentally unsuitable for production.

When you have a product that is running out of flash and you want to deploy an update for your customers, you need that granular control.

I just can’t fathom deploying a full product where I don’t have this sort of control?

From a performance/space standpoint there is decades of compiler optimization experience with IAR/GCC, I’m not sure micropython can achieve that.

Re: MicroPython

#8
> MicroPython implements the entire Python 3.4 syntax

Python 3.4 is now over 6 years old. Are there plans to add features from newer Python releases? Or perhaps the developers feel that Python's newer features wouldn't "pull their weight"?

Re: MicroPython

#9
post #6
post #3

MicroPython is amazing, it runs on very tiny microcontrollers not much else runs on, and makes development of hobbyist embedded projects orders of magnitude easier than C. I backed it way back when, I think for the ESP8266 support, and have loved it ever since.

I wouldn't say "very tiny". For example, does it run (and can do something useful) on a 8 KB cortex M0 with 24 KB of flash?

For that, maybe snek[1] would be more suited.

[1] https://sneklang.org/

Re: MicroPython

#10
post #7
post #4

Earlier quoted context omitted.

Why not? I've used it and it works fine, you don't get the granular control you get with C but I don't think there's anything that makes it fundamentally unsuitable for production.

When you have a product that is running out of flash and you want to deploy an update for your customers, you need that granular control. I just can’t fathom deploying a full product where I don’t have this sort of control? From a performance/space standpoint there is decades of compiler optimization experience with IAR/GCC, I’m not sure micropython can achieve that.

I don't think it's inconceivable that there would be a product where you'd have ample storage and CPU power for your application and would want to optimize for speed of development instead. I've built things on MicroPython that would be just fine to ship as they were, for example, if I were to commercialize them.
Post reply on HN