<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/circuitpython-goes-turbo-with-precompiled-functions-nrqjyqgod" -->

---
title: CircuitPython Goes Turbo With Precompiled Functions
description: CircuitPython Turbo, a new project by Mikey Sklar built with help from Anthropic's Claude LLM, brings MicroPython-style 'native' and 'viper' compilation modes...
canonical: https://daily.dev/posts/circuitpython-goes-turbo-with-precompiled-functions-nrqjyqgod
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CircuitPython Goes Turbo With Precompiled Functions | daily.dev
og:description: CircuitPython Turbo, a new project by Mikey Sklar built with help from Anthropic's Claude LLM, brings MicroPython-style 'native' and 'viper' compilation modes...
og:url: https://daily.dev/posts/circuitpython-goes-turbo-with-precompiled-functions-nrqjyqgod
og:image: https://api.daily.dev/og/posts/NrQjYqGOD.png
og:image:alt: CircuitPython Goes Turbo With Precompiled Functions
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CircuitPython Goes Turbo With Precompiled Functions

**[Hackaday](https://daily.dev/sources/hackaday)** · 2 min read · 0 upvotes · 0 comments

## Summary

CircuitPython Turbo, a new project by Mikey Sklar built with help from Anthropic's Claude LLM, brings MicroPython-style 'native' and 'viper' compilation modes to CircuitPython, which previously only ran in interpreted mode. Native mode compiles instructions while keeping Python objects, giving roughly a 3x speedup, while viper mode requires declaring variable types and pointers but can yield 20x to 70x speedups depending on the workload. Adafruit's documentation demonstrates a Metro RP2040 board calculating the Mandelbrot set about 3x faster in Native mode and roughly 19.7x faster in Viper mode compared to normal Python bytecode. Inline assembly, present in upstream MicroPython, is still missing from CircuitPython Turbo.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hackaday.com/2026/09/14/circuitpython-goes-turbo-with-precompiled-functions>

## Questions this post answers

### What is CircuitPython Turbo and how much faster does it make code run?

CircuitPython Turbo is a project by Mikey Sklar, built with help from Anthropic's Claude LLM, that adds MicroPython-style 'native' and 'viper' compilation modes to CircuitPython, which previously only ran in interpreted mode. Native mode compiles instructions while keeping values as Python objects for about a 3x speedup, while viper mode requires declaring variable types and pointers for speedups ranging from 20x to 70x depending on the task.

_Developers optimizing microcontroller code can track tooling like this on daily.dev._

### How much faster is CircuitPython Turbo's viper mode compared to normal CircuitPython on a real benchmark?

On a Metro RP2040 board calculating the Mandelbrot set, Adafruit's documentation shows native mode running about 3x faster and viper mode running about 19.7x faster than standard interpreted CircuitPython bytecode. Viper mode requires more rewriting, including declaring variable and pointer types, to achieve that gain.

_Anyone benchmarking microcontroller performance can follow updates like this on daily.dev._

### Does CircuitPython Turbo support inline assembly like MicroPython does?

No, CircuitPython Turbo does not currently support inline assembly, even though that capability exists in the upstream MicroPython implementation it is based on. It is possible inline assembly support could be added to CircuitPython Turbo in the future, following MicroPython's lead.

_Embedded developers weighing MicroPython versus CircuitPython features can follow the comparison on daily.dev._

## Similar posts on daily.dev

- [Get started with Python’s new native JIT](https://daily.dev/posts/get-started-with-python-s-new-native-jit-a6z6eivtt) · InfoWorld · 0 upvotes · 0 comments
- [I flashed MicroPython onto a $4 board, and it's the easiest way into electronics I've found](https://daily.dev/posts/i-flashed-micropython-onto-a-4-board-and-it-s-the-easiest-way-into-electronics-i-ve-found-s1dfmmk5x) · XDA Developers · 0 upvotes · 0 comments
- [CircuitPython 10.2.0-rc.0 Released\!](https://daily.dev/posts/circuitpython-10-2-0-rc-0-released--i8i8r0m2n) · Adafruit Blog · 0 upvotes · 0 comments
- [On Chip Debug For \(Some\) MicroPython](https://daily.dev/posts/on-chip-debug-for-some-micropython-qdnlutrn0) · Hackaday · 1 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#micropython](https://daily.dev/tags/micropython)

[View this post on daily.dev](https://daily.dev/posts/circuitpython-goes-turbo-with-precompiled-functions-nrqjyqgod)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"CircuitPython Goes Turbo With Precompiled Functions","url":"https://daily.dev/posts/circuitpython-goes-turbo-with-precompiled-functions-nrqjyqgod","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/circuitpython-goes-turbo-with-precompiled-functions-nrqjyqgod"},"datePublished":"2026-09-14T08:30:33.223Z","dateModified":"2026-09-14T08:30:55.229Z","description":"CircuitPython Turbo, a new project by Mikey Sklar built with help from Anthropic's Claude LLM, brings MicroPython-style 'native' and 'viper' compilation modes...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/83d47ea69b53d030e9f14856a0bad138?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/83d47ea69b53d030e9f14856a0bad138?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hackaday","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hackaday","logo":"https://media.daily.dev/image/upload/s--JhDfhy70--/f_auto,q_auto/v1767541814/logos/hackaday","url":"https://daily.dev/sources/hackaday"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/circuitpython-goes-turbo-with-precompiled-functions-nrqjyqgod","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,micropython","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hackaday","item":"https://daily.dev/sources/hackaday"},{"@type":"ListItem","position":3,"name":"CircuitPython Goes Turbo With Precompiled Functions"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/circuitpython-goes-turbo-with-precompiled-functions-nrqjyqgod#faq","mainEntity":[{"@type":"Question","name":"What is CircuitPython Turbo and how much faster does it make code run?","acceptedAnswer":{"@type":"Answer","text":"CircuitPython Turbo is a project by Mikey Sklar, built with help from Anthropic's Claude LLM, that adds MicroPython-style 'native' and 'viper' compilation modes to CircuitPython, which previously only ran in interpreted mode. Native mode compiles instructions while keeping values as Python objects for about a 3x speedup, while viper mode requires declaring variable types and pointers for speedups ranging from 20x to 70x depending on the task. Developers optimizing microcontroller code can track tooling like this on daily.dev."}},{"@type":"Question","name":"How much faster is CircuitPython Turbo's viper mode compared to normal CircuitPython on a real benchmark?","acceptedAnswer":{"@type":"Answer","text":"On a Metro RP2040 board calculating the Mandelbrot set, Adafruit's documentation shows native mode running about 3x faster and viper mode running about 19.7x faster than standard interpreted CircuitPython bytecode. Viper mode requires more rewriting, including declaring variable and pointer types, to achieve that gain. Anyone benchmarking microcontroller performance can follow updates like this on daily.dev."}},{"@type":"Question","name":"Does CircuitPython Turbo support inline assembly like MicroPython does?","acceptedAnswer":{"@type":"Answer","text":"No, CircuitPython Turbo does not currently support inline assembly, even though that capability exists in the upstream MicroPython implementation it is based on. It is possible inline assembly support could be added to CircuitPython Turbo in the future, following MicroPython's lead. Embedded developers weighing MicroPython versus CircuitPython features can follow the comparison on daily.dev."}}]}
```

