# RPython: the language behind PyPy that compiles Python 2 into a JIT

Original title: Inside PyPy: First Contact with RPython

> Hacker News story 50562207 · language: en · submitted 2026-11-19
> Web version: https://zeli.app/story/50562207
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 45 · by [lumpa](<https://news.ycombinator.com/user?id=lumpa>) · 💬 4
[original](<https://bernsteinbear.com/blog/inside-pypy-first-contact-with-rpython/>) · [HN discussion](<https://news.ycombinator.com/item?id=50562207>)

## Summary

A hands-on first look at RPython, the restricted Python 2 dialect that powers PyPy. A trivial `double` function compiles to C, then breaks when a string and an integer flow into the same parameter, since RPython demands monomorphic types; a `@specialize.argtype` annotation fixes it. The author praises automatic memory optimization, a free JIT, and a built-in garbage collector, while wishing for better errors, faster compiles, and a meta-method JIT instead of meta-tracing.

## Key quote

> I get restless now and then and I want to implement a programming language. Then after mustering the resolve, I stew, for there is no good implementation language.

---

## Cite

- Page: https://zeli.app/story/50562207
- Date: 2026-11-19
- Source: bernsteinbear.com (https://bernsteinbear.com/blog/inside-pypy-first-contact-with-rpython/)
- Hacker News: https://news.ycombinator.com/item?id=50562207

## Other languages

- zh: https://zeli.app/zh/story/50562207 · markdown: https://zeli.app/zh/story/50562207.md
- ja: https://zeli.app/ja/story/50562207 · markdown: https://zeli.app/ja/story/50562207.md
- ko: https://zeli.app/ko/story/50562207 · markdown: https://zeli.app/ko/story/50562207.md
- de: https://zeli.app/de/story/50562207 · markdown: https://zeli.app/de/story/50562207.md
- es: https://zeli.app/es/story/50562207 · markdown: https://zeli.app/es/story/50562207.md
- ru: https://zeli.app/ru/story/50562207 · markdown: https://zeli.app/ru/story/50562207.md
