~/talk

Extending MicroPython: Using C for good!

Talkat PyCon AU 2019 · 2019-08-02..08-06· [python, rust]
links:none on file
slides:none on file

Claims that MicroPython performance improves by selectively dropping into C are shown end to end: a Project Nayuki QR implementation is ported, Python prototype runs ~1500 ms for small codes while the C-wrapped version runs ~11 ms; wrapper work includes building MicroPython C structs and marshalling code and exposing a class-like API; deployment options cover frozen .mpy, upip libraries, and native modules for runtime-loading; demoed on an ESP32 TinyPICO serving QR pages using Project Nayuki C core.

AI-written summary · about

  1. 0:00Start
  2. 5:49Dessert: Native modules
  3. 11:27MicroPython Ports
  4. 17:06Optimisations: @native, @viper, Assembly
  5. 20:35Porting Python libraries to MicroPython
  6. 30:45Marshalling 101
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.