
Open-source builder. Solana developer tooling. Prev: @trufflesuite • @Consensys • @infura_io (DIN). Rust. Testing, observability, compilers & debuggers.
New York, NY
Joined January 2012
- Tweets420
- Following1.1K
- Followers241
- Likes780
I went through @solanaturbine Builders program on purpose, with a background in blockchain and developer tooling already behind me.
Not to relearn the basics. To feel the gaps a newcomer feels, from the inside.
A thread on what I found, and why I'm grateful for it. 🧵
Every code generator has two namespace problems:
• resolving names that already exist
• introducing names that don't collide
Separate those and proc-macro design clicks.
open.substack.com/pub/cdsama…
One of my favorite software Easter eggs, @dipesh_sukhani:
python -c "import this"
It prints The Zen of Python by Tim Peters.
I've come back to it surprisingly often over the years. Not because it's scripture, but because it's a concise collection of engineering tradeoffs.
2
2
147
This is sick dev-tooling, can't wait to dive in.
profiling solana programs will never be the same
full symbolication through the entire call stack & across cpi boundaries
github.com/soundsonacid/seas…
3
211
Software history is a pursuit of increasingly complicated questions:
Does it compile?
Does it run?
Does it work?
Does it work on my machine? their machine?
Does it still work?
Why doesn't it work?
Why does it work?
The final question is traditionally the most expensive.
The answer is rarely 42.
But a well-written test often gets surprisingly close.
Quick question about Surfpool's forking model. One of the things I really liked about @trufflesuite Ganache was that it could fork Ethereum mainnet at arbitrary historical blocks because it had archival access through @infura_io's support.
Does @surfpool_sol have that kind of support from @solana, or do we have to bring our own RPC provider?
My use case is protocol archaeology: I'd like to fork the chain immediately before a historical transaction, replay it locally, and experiment with alternative execution paths.
@ludo_txtx
2
2
309
Hey @xer0c, here's a concrete example of what I have in mind:
codama-idl + .so =
cds-rs.github.io/sol-babelfi…
I see this as something protocol developers narrate real-world use cases with runtime-verified claims. Documentation and tests become the same artifact.
For on-chain protocols, that's especially compelling. These systems can live for years, accumulating new integrators and facing increasingly capable attackers. Keeping the behavioral narrative coupled to executable tests helps that documentation stay honest as the protocol evolves.
@solanaturbine @solana_devs @ludo_txtx @lorismatic
I generated 5k lines of Rust over the last week.
Plot twist: no AI wrote it. No macros either.
A code generator read one JSON file, a file every deployed Solana program already ships and typed out an entire test surface. Like the old days, using bison, lex and yacc.
Thread on testing programs you have no source for. 🧵
Backstory: I've spent the last 4 weeks inside anchor-litesvm and the surrounding tooling, studying testing from each framework's side of the fence. @solanaturbine
The pattern: every framework wants your Cargo.toml. Version walls everywhere. I built adapters across multiple runtimes and kept hitting the same structural seams.
1
1
104
These two fledgling hawks have become my favorite story unfolding at the Queens Botanical Garden @queensbotanicl.
They're in that peculiar season where they know they're meant to fly, but nature still asks them to wait while the last flight feathers come in.
So they practice. They hop. They flap. They make short flights. They fail. They try again.
Watching them has been a nice reminder that learning @solana feels much the same.
Before anyone soars, they spend a while looking exactly like this.
@solanaturbine
The history of computing suggests that if you solve a difficult problem, you've merely uncovered a naming problem hiding underneath it.
I appear to have reached that phase @atdavidmurdoch .
The utility exists, the name does not.
Suggestions welcome @solana_devs
Replying to @mistor
@mistor I wrote a utility to inspect a transaction to get a baseline capability. Turns out I need a registry/resolver to alias those accounts. It's still rough.
@ludo_txtx would this be a good fit for @surfpool_sol reports?
gist.github.com/cds-amal/fa8…
6
284
Replying to @mistor
@mistor I wrote a utility to inspect a transaction to get a baseline capability. Turns out I need a registry/resolver to alias those accounts. It's still rough.
@ludo_txtx would this be a good fit for @surfpool_sol reports?
gist.github.com/cds-amal/fa8…
TYVM for your testing and feedback @C4ngui , event decoding and the report interfaces wouldn’t have existed without your participation!
Genuinely happy it helped you ❤️
🧵I've built a Solana protocol that turns token vesting into tradeable NFTs.
Each vesting position is an mpl-core Asset transferable, usable as collateral, readable on-chain by any program.
Claim X%, sell the rest.
But the thing I want to talk about here is the testing.👇
82
Most Solana test output answers one question:
Did the transaction succeed?
I'm interested in a different question:
What story did the program just tell?
A new capability I'm working on lets downstream tools reconstruct execution as a behavioral trace instead of log soup.
(Example: @C4ngui's vesting program)
🧵
Replying to @atdavidmurdoch
@atdavidmurdoch , I love me some @matteocollina content. This particular topic is important, and I think the same class of scaling behavior that is overwhelming OSS maintainers (AI contribs)
nitter.gq/i/broadcasts/1qxoNNgza…
1
63
Replying to @atdavidmurdoch
3
52
Absolutely this.
It's incredibly dumb to think that a non-technical person can vibecode as well as a decently experienced programmer -- as if AI is doing all the work.
Not having a mental model of what you can and cannot do will make you hit invisible walls.
I'm not saying a motivated person can't learn to create great apps with AI.
I'm saying put two people on a desk. One technical, one not, and have them vibecode the same thing. The results will be predictable.
I've literally watched non-technical people vibecode.
They get stuck on the most random things.
2
229
The history of software can be viewed as a long sequence of attempts to answer increasingly complicated questions. For example:
* Does it compile?
* Does it run?
* Does it work?
* Does it work on my machine?
* Does it work on their machine?
* Does it still work?
* Why doesn't it work?
* Why does it work?
The final question is traditionally the most expensive.
The answer is rarely 0x2a @atdavidmurdoch :)
But a well-written test often gets surprisingly close.
2
86















