<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/better-together-how-types-make-python-fly-sponsor-meta--pbi6jflgw" -->

---
title: Better Together: How Types Make Python Fly (Sponsor: Meta)
description: Meta engineers present two open source Python performance projects: Pyrefly, a Rust-based static type checker that can check all of PyTorch in under 3 seconds...
canonical: https://daily.dev/posts/better-together-how-types-make-python-fly-sponsor-meta--pbi6jflgw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Better Together: How Types Make Python Fly (Sponsor: Meta) | daily.dev
og:description: Meta engineers present two open source Python performance projects: Pyrefly, a Rust-based static type checker that can check all of PyTorch in under 3 seconds...
og:url: https://daily.dev/posts/better-together-how-types-make-python-fly-sponsor-meta--pbi6jflgw
og:image: https://api.daily.dev/og/posts/PbI6JfLGw.png
og:image:alt: Better Together: How Types Make Python Fly (Sponsor: Meta)
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.

# Better Together: How Types Make Python Fly (Sponsor: Meta)

**[PyCon US](https://daily.dev/sources/pyconus)** · 58 min read · 0 upvotes · 0 comments

## Summary

Meta engineers present two open source Python performance projects: Pyrefly, a Rust-based static type checker that can check all of PyTorch in under 3 seconds and Instagram's codebase in under 14, and CinderX, a pip-installable JIT compiler extension for Python 3.14+ that includes a parallel garbage collector and static Python support. The talk walks through how the CinderX JIT specializes code using runtime type feedback (with a live demo of assembly output), how static Python uses type annotations for compile-time optimizations like unboxed primitives and direct dispatch, and an experimental integration where Pyrefly's type information feeds directly into the static Python compiler to avoid duplicate type analysis. Benchmarks show roughly 10-15% JIT speedups in Instagram production and up to 45% on the Richards benchmark, with the presenters stressing the Pyrefly-static Python integration is early, unstable, and 'wildly unsafe.'

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=NKriJIlpC3c>

## Questions this post answers

### What is CinderX and which Python versions does it support?

CinderX is a pip-installable JIT compiler extension for Python developed at Meta, open sourced and made pip installable after being used internally for years. It externally supports Python 3.14 and above, running on Linux, macOS, and Windows across x86 and ARM64, though Linux and x64 have the most mature support; macOS and Windows support are described as very fresh and less tested.

_Track CinderX's platform support and version requirements on daily.dev before adding it to a Python performance stack._

### How fast is the Pyrefly type checker compared to older Python type checkers like mypy?

Pyrefly, along with TY and Zuban, belongs to a newer generation of Rust-based Python type checkers that run roughly 10 to 100 times faster than older checkers like mypy and Pyright. Pyrefly type-checks all of PyTorch in under 3 seconds and Instagram's 20-million-line Django codebase in about 15 seconds, though it is somewhat slower than TY while using less memory; it passes about 94% of type-checking conformance tests versus Pyright's roughly 96%.

_Compare Rust-based type checker benchmarks on daily.dev when picking a checker for a large Python codebase._

## Similar posts on daily.dev

- [Adopting Pyrefly as the Python type checker at Google](https://daily.dev/posts/adopting-pyrefly-as-the-python-type-checker-at-google-ixrvzgxi3) · Google Open Source Blog · 0 upvotes · 0 comments
- [Google Adopts Pyrefly for Faster, More Accurate Python Type Checking](https://daily.dev/posts/google-adopts-pyrefly-for-faster-more-accurate-python-type-checking-mjd54jnyy) · InfoQ · 1 upvotes · 0 comments
- [Pyrefly 1.0: A fast, forward-looking Python linter](https://daily.dev/posts/pyrefly-1-0-a-fast-forward-looking-python-linter-k4vukcqpr) · InfoWorld · 0 upvotes · 0 comments
- [Pyrefly Now Type Checks PyTorch – PyTorch](https://daily.dev/posts/pyrefly-now-type-checks-pytorch-pytorch-adohlgdfc) · PyTorch · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#python](https://daily.dev/tags/python), [#compiler-optimization](https://daily.dev/tags/compiler-optimization)

[View this post on daily.dev](https://daily.dev/posts/better-together-how-types-make-python-fly-sponsor-meta--pbi6jflgw)

```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":"Better Together: How Types Make Python Fly (Sponsor: Meta)","url":"https://daily.dev/posts/better-together-how-types-make-python-fly-sponsor-meta--pbi6jflgw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/better-together-how-types-make-python-fly-sponsor-meta--pbi6jflgw"},"datePublished":"2026-09-18T22:13:58.498Z","dateModified":"2026-09-18T22:14:28.499Z","description":"Meta engineers present two open source Python performance projects: Pyrefly, a Rust-based static type checker that can check all of PyTorch in under 3 seconds...","image":"https://i.ytimg.com/vi/NKriJIlpC3c/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/NKriJIlpC3c/sddefault.jpg","isAccessibleForFree":true,"articleSection":"PyCon US","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":"PyCon US","logo":"https://media.daily.dev/image/upload/s--DLedNxG1--/f_auto,q_auto/v1777800767/logos/pyconus?_a=BAMAMiWQ0","url":"https://daily.dev/sources/pyconus"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/better-together-how-types-make-python-fly-sponsor-meta--pbi6jflgw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,python,compiler-optimization","timeRequired":"PT58M","video":{"@type":"VideoObject","name":"Better Together: How Types Make Python Fly (Sponsor: Meta)","description":"Meta engineers present two open source Python performance projects: Pyrefly, a Rust-based static type checker that can check all of PyTorch in under 3 seconds...","thumbnailUrl":"https://i.ytimg.com/vi/NKriJIlpC3c/sddefault.jpg","uploadDate":"2026-09-18T22:13:58.498Z","duration":"PT58M","url":"https://api.daily.dev/r/PbI6JfLGw","embedUrl":"https://www.youtube.com/embed/NKriJIlpC3c"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PyCon US","item":"https://daily.dev/sources/pyconus"},{"@type":"ListItem","position":3,"name":"Better Together: How Types Make Python Fly (Sponsor: Meta)"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/better-together-how-types-make-python-fly-sponsor-meta--pbi6jflgw#faq","mainEntity":[{"@type":"Question","name":"What is CinderX and which Python versions does it support?","acceptedAnswer":{"@type":"Answer","text":"CinderX is a pip-installable JIT compiler extension for Python developed at Meta, open sourced and made pip installable after being used internally for years. It externally supports Python 3.14 and above, running on Linux, macOS, and Windows across x86 and ARM64, though Linux and x64 have the most mature support; macOS and Windows support are described as very fresh and less tested. Track CinderX's platform support and version requirements on daily.dev before adding it to a Python performance stack."}},{"@type":"Question","name":"How fast is the Pyrefly type checker compared to older Python type checkers like mypy?","acceptedAnswer":{"@type":"Answer","text":"Pyrefly, along with TY and Zuban, belongs to a newer generation of Rust-based Python type checkers that run roughly 10 to 100 times faster than older checkers like mypy and Pyright. Pyrefly type-checks all of PyTorch in under 3 seconds and Instagram's 20-million-line Django codebase in about 15 seconds, though it is somewhat slower than TY while using less memory; it passes about 94% of type-checking conformance tests versus Pyright's roughly 96%. Compare Rust-based type checker benchmarks on daily.dev when picking a checker for a large Python codebase."}}]}
```

