Dean Berris (@deanberris) header
Dean Berris (@deanberris) profile picture

https://teapawt.org/t.co/jKzkxTkRud — Opinions are my own. DM's open! Principal Software Engineer @dMatrix_AI, formerly @microsoft, part of @Azure. Formerly @google.

Sydney, Australia
Joined April 2007
Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)Photo by Dean Berris (@deanberris)
G'day! I'm doing a thing on the side which might be interesting to folks that follow me too. Follow the publication and/or subscribe to the newsletter to get updates as I work through the process of getting this off the ground if you're interested. Cheers!
Hello, World! Follow at modernsoftware.info for semi-regular articles on Modern Software Engineering. There's an ongoing series by @deanberris on Career Crafting for Software Engineers that might be helpful to you or someone you know!
2
3
395
Eureka! Pia can now target the Apple Silicon GPU with SPIR-V and the Metal toolchain! 🚀🏎️ It can now codegen for CPU, SIMD, and GPU. pia-lang.dev/gpu-demo/ Someday it will do Nvidia and AMD too, but I don’t have access to those at the moment. ⏳
2
78
Today, I taught Claude about the small object optimisation for a ‘box’ type in pia-lang.dev and I’m feeling good about humanity’s role in this field at least until the next model release. 😅
59
He’s not wrong.
Replying to @Shra_va_ni @grok
We've had it for 70 decades. It's called Lisp.
50
Another day, another Pia case study: binary search. pia-lang.dev/cases/binary-se… Here’s the story of how Pia would have caught and prevented a bug in Binary Search in Java. 🙏
1
228
Another day, another Pia feature to share: Theories. pia-lang.dev/theories/ In Pia, a Theory teaches the verifier about a domain, and it's modelled in Pia and checked at compile time. One example that's really important is the Repaired C11 Memory Model (RC11) and how to define state machines that are statically checked. Theories define sorts, a model defining the sort, spec functions with contracts that define the interfaces, a proof that uses the model, and a counterexample found from incorrect usage/modeling of the theory. This means the language is extensible from within itself to make domain theories checkable. What's already modeled: - Lock levels - Happens-before and memory orders - Probabilities - Allocators - Target (as in, a compiler target) A theory bundles things like axioms, lemmas, and specs so that if you have a domain that you want to model and have the verifier check the contracts of the implementation of a type/interface, then theories are for you. Happy safe programming! 🙏
60
Motivating example: catching bugs with Pia at compile time that Rust had in unsafe code. pia-lang.dev/cases/rust-vecd… This shows how using a language built with correctness proofs at the core can catch bugs before code even runs.
2
205
As I work on testimonyproject.info I started off with using Claude to learn more about the historical and theological matters in Christianity. As I do more, and I learn more, I’ve started to read more and now I’m getting to argue more effectively with Claude and critiquing the arguments it comes up with and the encodings. Now, with the logical facilities we have in the library, I can start refining the argument presentations to a level that I’ve understood scripture. The more I learn, the more I want to learn. Hopefully this would be helpful to others too. 🙏
1
47
I write my blog in Markdown, mostly by dictation. I wanted an editor that quietly flags typos, shaky claims and missing sources in the background. So I built one (with Claude over the weekend). md-wingman 0.1.0, native Rust on macOS, open source: md-wingman.dev
3
2
111
I’ve always imagined myself working on programming languages. So now that AI can do a lot of the coding for me, I started one over the weekend. Documentation at pia-lang.dev Idea is simple: systems programming language following from OCaml but no garbage collector, meta programming like Lisp, every contract is proven with a sat solver (Z3) at compile time, and you can extend the solver using theories. It has a few case studies where it would have prevented some of the high profile bugs recently at compile time. Targets Apple Silicon for now, hopefully by end of week it will be able to codegen to Apple Silicon GPUs. Only because that’s what I have access to myself. It’s Apache 2.0 and I accept pull requests. If you like working with agents like me, contributions are always welcome.
1
2
350
pia-lang.dev/repl-debugging/ Shows how a REPL that ships with the compiler can be used by agents to prove and execute code on the fly, editing definitions in a programming environment like as you would in Lisp. It’s not interpreted, it’s JIT compiled and always proved. Uses MLIR and LLVM under the hood. It’s a quick way to get your agents to use it for day-to-day debugging and proof of correctness with executable code (as opposed to TLA or Lean that’s different from the code you’re actually writing).
34
Testimony Project Live Stream #2 tomorrow 7PM AEDT (8AM UTC) -- join me on YouTube or Discord for the live stream. We'll go through Sola Fide and the arguments for/against in Lean 4. patreon.com/deanberris/posts…
46
What I wish Hermes did by default: in a single profile have all sessions in different chats share the same context. It’s a bit frustrating that when I’m talking to it in Signal and the Desktop App that the sessions don’t know what’s going on across them. So I can’t really carry on a single conversation with it across channels. If it’s supposed to work how I expected it, then I clearly must be doing something wrong.
1
73
I set up a Hermes Agent profile accessible to members in the Discord Server named "Witness" as part of the Testimony Project -- this way folks can ask it (Witness) about what's in the project and how to get involved! patreon.com/deanberris/posts…
3
1
160
I recorded an hour long session and put it on YouTube on how I work on the Testimony Project with Claude Code. It goes through how I read the Lean 4 code that it produces and the prose describing the Christian doctrines and arguments from scholars, the Bible, Church Fathers, and more. If you'd like to support me on this effort, please join me on Patreon! 🙏 patreon.com/deanberris/posts…
1
1
64
They’re selling you more tokens this way.
Anthropic is now recommending that companies REMOVE unnecessary subagents from their AI systems. This is a pretty significant shift in agent architecture, with their team finding that a single agent equipped with skills can frequently outperform complex multi-agent systems, and one customer seeing roughly 2x faster execution. The emerging rules of thumb: → Skills: Teach the agent HOW to do something, including procedures, expertise, and instructions. → Tools / MCP: Give the agent the ability to DO things through APIs, actions, and live data. → Subagents: Use for parallel work, isolated context, or tasks a single agent struggles with. The interesting part is progressive disclosure. Instead of spawning specialized agents or stuffing everything into a giant prompt, one agent discovers and loads skills and tools as needed. Their advice is to fold existing subagents into the main loop, turn their instructions into skills, expose their actions as tools, and run evals to see if performance holds up. As models have gotten smarter, improving agent architecture is becoming less about what you can add and more about what you can delete. claude.com/resources/article…
1
86
I always ask my agents now to follow Literate Programming style/guidelines so that it's forced to make the code read like something Dr. Knuth would write.
81