Skip to content

Last Week in Pony - December 6, 2026

How high is the water Mama? Well, I don’t know exactly but it is a fuckton higher than it was a few days ago.

So Sean, that’s me for the new reader, in his infinite wisdom, in addition to liking to talk like Rickey Henderson decided to turn loose his “great at finding bugs” agents on ponyc. Hoo-daddy, did we find things for sure. We went from 90 something open issues up to… (goes to check… jfc it went up again) 235 at the moment. Most of them are “edge cases” but they are “edge cases” that in some cases can lead to unsoundness in the type system because the compiler is fucking shit up.

Most of them are because features kind of grew and accreted over time. It doesn’t really matter for end users, but it matters for me as the primary maintainer. I am in the process of “rewriting” 4 or 5 major parts of the compiler to make them far less error-prone. Honestly I find this a little irritating because I was planning on starting to write a brand new compiler within a few weeks, but that isn’t going to happen anytime soon. And honestly that is a good thing. I’ve started building up a “poor man’s spec” and “engineering guide” for ponyc, you can watch it grow here. Going through and fixing all these weird edge cases so the compiler works how it is supposed to rather than how it does means I have a chance to fill out that “spec” and once that is done, along with the mass of tests that we are accumulating, the easier it will be to replace the compiler with a design that I think is much nicer and is inspired by conversations that Joe, Sylvan, and I have had over the years.

So, that is “what is going on” and now… on with the rest of the program.

Items of Note

Cloudsmith Incident Update

An update on last week’s “Cloudsmith incident”: It appears that starting 3 weeks ago, a web crawler from inside of Meta started downloading massive amounts of Pony builds. Over 2.3 trillion bytes. That’s an awful lot. I can deploy Sean’s razor to come up with entertaining stories as to why, but hey, I will keep those to myself so you too can be entertained thinking of what might have been going on before Cloudsmith blocked it.

Pure Ponylang Online Radio Server

Albert L. Delima shared aSLACRadio, an online radio server he’s building in Pony with PostgreSQL as the only external component (he talks to it over stdio instead of a network port). The code isn’t public yet while he settles the actor layout. Check out #projects > Pure Ponylang Online Radio Server on Zulip for the full design and the follow-up Q&A.

New Pony Patterns

We added two new patterns to the Pony Patterns book this week.

If you keep writing the same traversal loop over a data structure for each new operation, with the Visitor pattern you write the walk once and pass in an interface for what to do at each node.

Generic Numeric Code is for when you want generic code that works across integer widths without hitting union-type errors from constraining a type parameter to a union like Unsigned on its own.

ponylang/llm-skills Installer Change

ponylang/llm-skills now installs copies of the skills. If you used the old symlink installer, run git pull and then python install.py (with the same harness flags, if you used any) in the clone you originally installed from. Use the same two commands for future updates. Installation guide ยท Installer change

Pony Development Sync - December 2

The recording is available.

Agent summary of an agent summary:

We spent much of the sync on a loop that used to be easy to write in Pony. Say you want to visit every element of an array in reverse. If the array is empty, the loop should run zero times. With the current Range[USize] API, starting at size - 1 works right up until the size is zero. Then the subtraction wraps around and the first index is invalid.

In ponylang/ponyc#6486, we looked at how to express “start just below the size and count down through zero.” We discussed chaining calls to describe the two ends of the range. Joe preferred passing the bounds to the constructor, which would let us keep the common ascending loop short. He also suggested keeping till (exclusive end) and through (inclusive end) and adding constructors like after_through. Sean asked for input on Joe’s two options before picking one.

We also went over the Cloudsmith throttling. A crawler from Meta downloaded more than 2.3 terabytes of Pony builds. We still publish builds to Cloudsmith, but with ponylang/ponyup#515, ponyup now gets releases from GitHub Releases and nightlies from GitHub Container Registry by default.

Joe approved the generic numeric code pattern in ponylang/pony-patterns#114. The example starts with a cipher block that should support XOR at any unsigned integer width. Constraining with the UnsignedInteger[T] trait lets you say that both operands have the same type. Adding the Unsigned union to the constraint lets you write literals like 2 directly in the generic code.

Sean closed with an update on the bug queue and his runtime work. The agents working through the bug queue keep uncovering more bugs as fixes land for the ones we already know about. On the runtime side, Sean described using shadow stacks so an actor can collect garbage while a behavior is still running.

Releases


Last Week In Pony is a weekly blog post to catch you up on the latest news for the Pony programming language. To learn more about Pony, check out our website or our Zulip community.

Got something you think should be featured? There’s a GitHub issue for that! Add a comment to the open “Last Week in Pony” issue.