Adafruit adds native-code 'Turbo' compiler to CircuitPython for RP2040/RP2350
Adafruit has released CircuitPython Turbo, a new workflow that compiles specific Python functions into native machine code on a host computer before loading them onto microcontroller boards, while the rest of the program still runs as interpreted Python. Built on MicroPython's existing Native and Viper emitters, Turbo is now bundled into official CircuitPython builds for RP2040 and RP2350 hardware, and Adafruit's documentation shows a Mandelbrot benchmark on a Metro RP2040 dropping from 8.335 to 0.423 seconds, roughly 19.7x faster.
GoKawiil's interpretation of the reporting above, not reported fact.
Microcontrollers running interpreted Python have long struggled with compute-heavy tasks like LED animations, audio processing, or sensor filtering, forcing hobbyists to drop into C for performance. By letting beginners keep writing CircuitPython while selectively compiling bottleneck functions, Adafruit lowers the barrier to building more responsive maker projects without requiring lower-level programming skills. It's a meaningful step for education-focused hardware, though the speedup applies only to the offloaded computation, not I/O-bound tasks like sensor or display communication.
- CircuitPython Turbo compiles select functions to native machine code while keeping the rest in Python.
- Benchmarks show up to a 19.7x speedup on a fixed-point Mandelbrot test using RP2040 hardware.
- Turbo is now built into official CircuitPython releases for RP2040 and RP2350 boards, targeting students and hobbyists.
Adafruit Metro RP2040 Board — This is one of the exact boards used in Adafruit's CircuitPython Turbo benchmarks, making it a great way to try native-code speedups yourself. It's a solid, beginner-friendly RP2040 board perfect for experimenting with fractals, NeoPixel effects, and sensor processing.
See Adafruit Metro RP2040 Board on Amazon → Affiliate link — we may earn a commission on purchases, at no extra cost to you. Product picked by AI based on this article; it is not a tested recommendation.Source: news.slashdot.org — Posted, 2026-09-17
Published there as: “Adafruit's New CircuitPython 'Turbo' Brings Native Code To Tiny Boards”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.