# yk로 CPython을 개조했더니, 단 450줄로 Python의 실험적 JIT보다 빨라졌다

Original title: Adapting CPython for Yk

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

▲ 79 · by [frostbyte7](<https://news.ycombinator.com/user?id=frostbyte7>) · 💬 6
[original](<https://tratt.net/laurie/blog/2026/adapting_cpython_for_yk.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50466410>)

## Summary

Laurence Tratt가 yk를 CPython에 적용한 ykcpython 실험을 공개했다. yk는 C 인터프리터에 메타 트레이싱 JIT를 자동으로 추가하는 도구로, 이번에는 CPython의 tier 2 인터프리터에 80줄을 추가하는 것만으로 지원을 구현했다. AWFY 벤치마크에서 ykcpython은 13개 중 8개에서 CPython의 실험적 JIT보다 빨랐고, DeltaBlue를 제외한 모든 벤치마크에서 기본 CPython보다 빨랐다. 전체 추가 코드는 450줄 미만이며, 이는 아직 실험 단계임을 저자도 강조한다.

## Key quote

> 내가 이 글을 쓰는 목적은 ykcpython이 사람들이 쓸 준비가 되었다고 주장하려는 것이 아니다 — 전혀 아니다! 더 넓은 프로그램에서 위 수치만큼 성능이 나올 것이라고 기대할 수 있다고 주장하려는 것도 아니다 — 결코 그렇지 않을 것이다!

## HN discussion (6 comments)

### [jonathaneunice](<https://news.ycombinator.com/item?id=50474921>)

> 아주 좋네요. 저는 Python을 더 빠르게 실행하는 방법으로 PyPy를 좋아해 왔는데, PyPy는 올해 9월에야 Python 3.12를 지원했고 그것도 아직 베타입니다(https://pypy.org/posts/2026/10/pypy-v801-release.html). CPython의 3.12가 나온 지 약 3년 만이죠. CPython 자체의 JIT는 붙였다 떼었다 하는 것 같아서, 외부 접근 방식이 그 부담을 일부 덜어줄 수 있다는 건 정말 반가운 소식입니다.

---

## Cite

- Page: https://zeli.app/ko/story/50466410
- Date: 2026-11-12
- Source: tratt.net (https://tratt.net/laurie/blog/2026/adapting_cpython_for_yk.html)
- Hacker News: https://news.ycombinator.com/item?id=50466410

## Other languages

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