An engineer's own language: ~75k lines, nearly all by Claude and Codex
MATLAB and Python frustrated a mechanical engineer: hard to debug, hard to share. Oct is their language that compiles to Go, with SI units in the type checker. Claude and Codex wrote pretty much all of it.
Done withClaudeCodexSpotted· by HN user YuechenLi· Oct 29, 2026
Result Adding meters to kilograms is a type error
“Pretty much all of it is written by Claude/Codex, my role is only to prevent drift/hallucinations.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
A mechanical engineer frustrated with MATLAB and Python in grad school and at work, the writer wanted a language that’s easy to debug and share, without the prototype-then-rewrite cycle. Oct is statically typed, compiles to a Go binary, can wrap the Go ecosystem, and enforces SI units in its type checker. About 75k lines of Oct code are in the repo, pretty much all written by Claude and Codex.
How it went
The writer’s role was only to prevent drift and hallucinations. It’s very much a work in progress, but enough bugs are fixed that they were ready to show it.
Try it yourself with Claude
I want a small, statically typed language for [scientific computing] that compiles to [Go], with [physical units checked by the type checker]. Start with the grammar and a type checker for units, plus tests. I'll review each design decision and watch for drift before you build the next feature.
A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.
Wanting Claude's help with Haiku software and OS issues, they spent $30 of Claude API credit on a USB UAC 2 audio driver for Focusrite Scarlett devices. Haiku's AI policy keeps it from going upstream.
Copy-pasting others' TLA+ specs risked missing attribution. Claude built a small Rust package manager that renames modules to avoid collisions. It took about 30 minutes of fighting, but it worked.
A $5-a-month product, then $20, then a rewrite at $10 and $50 a month. A day after launch came a $360 payment: a Yearly option on the $50 plan, with a discount, that Claude had added without them realizing.
Harvest's ~$100/yr Solo time-tracking plan went up 2.5x for a more restricted plan, or $20,000/yr to keep the old one. With their data downloaded, Claude vibecoded a fully-featured clone in one evening.
Asked for a web-based Rust email client from scratch that could talk to a JMAP server, Claude wrote it in about 20 minutes. It needed some bugs pointed out and lacks features, but it works.
A tag-based file recommender kept missing the mark with Claude. ChatGPT turned the problem into one precise paragraph. Handed back to Claude, it clicked, and a working solution came out without any drama.