Anmeldung Registrierung
Auto Hell Dunkel
Erweiterte Suche
  1. Startseite
  2. Podcasts
  3. Adafruit Industries Podcast
  4. CircuitPython Turbo: Faster Code, Same Friendly Python
Meet CircuitPython Turbo from Adafruit. CircuitPython Turbo gives
the busiest parts of your Python project a faster way to run.
"Turbo" translated selected Python functions into instructions the
chip can execute directly, while Python keeps handling the rest. In
one recorded test, a Mandelbrot calculation ran nearly 20 times
faster on an Adafruit Metro RP2040. That does not make everything
20 times faster, but it can free up time for animation, graphics,
and responding to input. Explore real hardware demos, see how it
works, and try it yourself. Keep the readable code, speed up the
demanding parts, and build something worth watching. Go Blinka!
Speed off into the project with the Adafruit Learning guide:
https://learn.adafruit.com/circuitpython-turbo?view=all
CircuitPython Turbo uses mpy-cross to compile selected Python
functions ahead of time into architecture-specific native .mpy
modules. Keep code.py as the coordinator while imported modules
handle computational hotspots. Native mode retains Python objects;
Viper supports machine-word integers and pointers for tighter
loops. On Adafruit Metro RP2040, a fixed-point 160 × 120 Mandelbrot
benchmark dropped from 8,335.3 ms as bytecode to 422.9 ms with
Viper: 19.71× faster computation. The source remains available as
an import-time fallback when compiled modules are absent. Explore
the toolchain, compare outputs, and measure your complete
application: faster arithmetic does not eliminate display, storage,
or communication delays. Same snake, less waiting #circuitpython
#adafruit #python
Episode melden

„CircuitPython Turbo: Faster Code, Same Friendly Python“

Worum geht es? Danach fragen wir noch nach dem Grund.

Abonnenten

Teilen

Mein Archiv

Deine Privatkopie der Folgen, die du nicht verlieren willst.

Podcast-Folgen verschwinden. Feeds werden auf die letzten Episoden gekürzt, Hoster räumen alte Dateien ab, Formate wechseln den Anbieter und lassen ihr Archiv zurück. Mit „Mein Archiv“ sichert podcast.de die Folgen deiner Podcasts für dich — angefangen bei den ältesten, denn die sind zuerst weg.

  • Deine gesicherten Folgen bleiben hörbar, auch wenn das Original offline geht.
  • Auch Folgen, die im heutigen Feed gar nicht mehr stehen — podcast.de kennt sie noch.
  • Herunterladen bleibt möglich, solange die Folge beim Podcaster liegt. Der zählt seine Abrufe wie bisher.
Startet bald

Sei beim Start von Mein Archiv dabei

Mein Archiv ist fast fertig. Trag dich ein, dann bekommst du eine E-Mail, sobald es losgeht – und bist von Anfang an dabei. Wir schreiben dir nur zum Start, keine Werbung, keine Weitergabe deiner Daten.

Du bekommst zuerst eine Bestätigungsmail. Abmelden geht jederzeit. Datenschutz