frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: A faster Python 3 interpreter implemented in C11, one week

1•soasme•48m ago
Small Python (spy) is a small, embeddable Python engine written in C11. Pretty much like quickjs for javascript, it's for Python.

The entire Python core language features is full implemented with almost all builtins. No Lib/ is included except sys/gc that changes the interpreter behaviors.

Is missing Python stdlib a pain? Probably no. Host injected modules allows any language's ecosystem to be used in Python syntax. Check examples, you can build game by using Raylib, or build web server using Axum/Serde_python (using Rust crates).

Just copy `spy.h`, `spyc-*.c` into your project and use it as a C library. Or several bindings are provided for languages like Js, Python, Rust, Go. You can install via pip, npm, crate, go. Worker mode is recommended so that any issue would be contained in a subprocess.

It's fast. Well, not at the speed of Pypy because it's not JIT. But it's slightly faster than C Python in most benched cases.

Another good feature is compiling Python into a binary. You could use PyInstaller, but it's gonna be so large. Small Python's binary is small. A raylib + spy based PONG game is built at around 2MB.

It's using a full suite of tests: unittest, fuzz, sanitize, bench, TLA+ specs. Despite using C, agents are unable to spot a single segfault as of now. So that's pretty cool. :)

The roadmap aims to build it for agents: snapshot/resume between durable sessions, policy declaration so agents never shoot on your feet, etc.

It has been built for one week. I have a long Claude Code session running over several days with /remote-control using Opus 5.5.

Repo url: https://github.com/soasme/small-python Previous HN post: https://news.ycombinator.com/item?id=50281226

The Megadonors Who Have Poured $1.2B into the Midterms

https://www.nytimes.com/interactive/2026/08/28/us/politics/billionaire-midterms-donors.html
1•doener•1m ago•0 comments

Should He Fix Churn, Change Pricing, or Rebuild His SaaS? [video]

https://www.youtube.com/watch?v=uTVyLYDOd1M
1•mooreds•1m ago•0 comments

Cozy random passages from Arnold Lobel's Frog and Toad books

https://bsky.app/profile/frogandtoadbot.bsky.social
1•mooreds•3m ago•0 comments

Google joins OpenAI and Anthropic in promising new scraping controls

https://www.engadget.com/2303225/google-openai-anthropic-ai-crawling-controls/
1•geox•8m ago•0 comments

The Exponential Time Hypothesis: How the (dis-)proof works [video]

https://www.youtube.com/watch?v=fEaTKrk492E
1•HotHotLava•15m ago•1 comments

NASA is asking for ideas to rescue Hubble

https://arstechnica.com/space/2026/10/think-you-can-save-the-hubble-space-telescope-nasa-wants-to...
1•Gaishan•17m ago•0 comments

In LLM era, can software startup survive?

3•sjia•19m ago•2 comments

Nashi: Open-source file converter and editor app with a drag-wheel interaction

https://github.com/orkunisitmak/nashi-app
1•thunderbong•20m ago•0 comments

Bell Labs Contribution to the Architecture of Computation Theory

https://en.wikipedia.org/wiki/Point-contact_transistor
1•efren6•21m ago•0 comments

U.S. workers took home their smallest share of capital since at least 1947

https://fortune.com/article/why-did-us-workers-just-take-home-smallest-share-of-capital-since-194...
59•qlte•28m ago•9 comments

Its Investors Say Kalshi Is Worth $40B. Is an IPO Next?

https://www.nytimes.com/2026/10/29/business/dealbook/kalshi-fundraising-ipo.html
1•bookofjoe•28m ago•1 comments

America's Sewer Systems Are Surprisingly Vulnerable to Cyber Attacks

https://policygradients.thefai.org/p/americas-sewer-systems-are-surprisingly
3•donchuru•29m ago•0 comments

France plans internet tax of 5.5 cents per gigabyte

https://www.heise.de/en/news/France-plans-internet-tax-of-5-5-cents-per-gigabyte-11507179.html
3•slymax•30m ago•0 comments

Ask HN: What do you predict you'll be doing for work in 5 years?

2•thedreammachine•31m ago•1 comments

Show HN: TunaML – Renewable Energy Analytics

https://tunaml.com/
1•sheunl•33m ago•0 comments

AI Nerfs: Are Claude, ChatGPT, and Gemini Nerfed Today?

https://ai-nerfs.com
1•MaxDevv•34m ago•0 comments

Show HN: My Sports OS – A platform for sports scientists, teams, and coaches

https://mysportsos.com/
1•mysportsos•37m ago•0 comments

Nine ways to break your systems code using volatile (2010)

https://blog.regehr.org/archives/28
1•andsoitis•40m ago•0 comments

Made-of-meat, a listserv for agentic eng practitioners

https://mom-hub.tryapexti.ai/
1•asah•41m ago•1 comments

Why are car keys so expensive to replace?

https://thehustle.co/originals/why-are-car-keys-so-expensive-to-replace
2•rmason•42m ago•0 comments

Stackless Python is an enhanced version of the Python programming language

https://github.com/stackless-dev/stackless/wiki/
1•Bluestein•43m ago•0 comments

Cited by AGI

https://citedbyagi.com/
2•gone35•43m ago•0 comments

A Guide to Undefined Behavior in C and C++

https://blog.regehr.org/archives/213
1•andsoitis•44m ago•0 comments

Show HN: A faster Python 3 interpreter implemented in C11, one week

1•soasme•48m ago•0 comments

Human-Pilled – The Bitter Lesson Meets Architectures of Participation

https://asimovaddendum.substack.com/p/human-pilled
1•rmason•53m ago•0 comments

CVE-2026-Solitaire:Windows Free Bundling Causing Global Productivity Loss

https://medium.com/@saitoken330/cve-2026-solitaire-critical-vulnerability-in-microsoft-windows-fr...
2•7kago_yomi•56m ago•0 comments

Empires of AI – By Eric Schmidt and Niall Ferguson

https://www.foreignaffairs.com/china/empires-artificial-intelligence-niall-ferguson-eric-schmidt
3•ksajadi•56m ago•1 comments

Ditching the Smart TV for Media Watching

https://blog.joyrex.net/ditching-the-smart-tv-for-media-watching
3•ghostface47•58m ago•0 comments

Show HN: Duckstring – Pull-orchestrated data pipelines on DuckDB

https://playground.duckstring.com/story
1•isaac-harvey•1h ago•1 comments

An AI runs a tiny web studio with a year to earn its existence

https://brasspage.com/alive/
2•FreeFlinstones•1h ago•2 comments