Skip to content
0:00 / 0:00

#micropython#viper#microcontrollers

Writing fast and efficient MicroPython

PyCon AU

25K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • A classic. People kept recommending it from 2018 to 2022.
  • Presented by Damien George, creator of MicroPython

Intermediate. Assumes working knowledge.

75K views8 years ago3 recommendations

Programming languagesSystems programmingPythonEmbedded systemsPerformance and optimization

Damien George demonstrates techniques for optimizing MicroPython code on resource-constrained microcontrollers, including using native and viper decorators.

Damien George 2018.pycon-au.org/talks/45358-writing-fast-and-efficient-mic… MicroPython is an implementation of Python designed to run on microcontrollers and embedded systems. These devices don't have many resources (CPU, RAM) and so it's important to write efficient scripts. This talk shows how to make the most of your resources in MicroPython, and has some fun demos! Python, PyCon, PyConAU, australia, programming, sydney This video is licensed under CC BY 3.0 AU ‹creativecommons.org/licenses/by/3.0/au/›. PyCon Australia (“PyCon AU”) is the national conference for the Python Programming Community, bringing together professional, student and enthusiast developers with a love for developing with Python. PyCon AU, the national Python Language conference, is on again this August in Sydney, at the International Convention Centre, Sydney, August 24 - 28 2018. Python, PyCon, PyConAU

Why it's here

3 people recommend this, 1 disputes it

What people say. Recommended as a great resource for understanding how to optimize Python code for embedded systems and microcontrollers.

Moments people linked to

u/mattytrentiniin r/embedded • Recommends

On “Can MicroPython be used in production?”

No, just like Python, it's bytecode interpreted. OK, it's a little more complex than that. ;) See the native and viper decorators that can emit to the target arch. You might also be interested in (MicroPython creator) Damien George's Writing fast and efficient MicroPython talk from PyCon AU 2018. But, generally, it's interpreted.

u/Jong33in r/embedded • Recommends

On “Low Level Code-Size Optimizations in C [x-post r/programming]”

1. MicroPython's \*Python\* code can be extremely efficient, performance and code size wise, if you're curious then go ahead and watch: [video 2. I'm giving examples of optimizing a big C project, which just happens to be the interpreter of MicroPython. This has nothing to do with Python specifically and this optimization could be applied on any other embedded project.
3View on Reddit

u/Milumetin r/embedded • Recommends

Writing fast and efficient MicroPython (PyCon Australia 2018)

u/MoDuRedditin r/embedded • Disputes

On “Low Level Code-Size Optimizations in C [x-post r/programming]”

>MicroPython's \*Python\* code can be extremely efficient, performance and code size wise, if you're curious then go ahead and watch: link to this video MycroPython's VM can't even fit on an Arduino, scripting languages have no place in resource constrained devices. Hell, you can run a RTOS and still have ROM and RAM to spare, but there's not enough flash for a Hello World in uPython. >I'm giving examples of optimizing a big C project, which just happens to be the interpreter of MicroPython. This has nothing to do with Python specifically and this optimization could be applied on any other embedded project. I only commented on what I thought was funny, not intending to conflate the point of your art…
0View on Reddit